Part of #19608: improve error reporting of zip command failure (#19672)

This commit is contained in:
John Mulcahy authored and GitHub committed 2023-03-22 19:52:54 +00:00
1 parent 614997bf5a
commit 3916221cfb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -213,7 +213,7 @@ The following people are not part of the development team, but have been contrib
* Ernest Elgin (eaeiv)
* Ernest Wong (ErnWong)
* Joel H. (HtotheTML)
* John Mulcahy (jayjay300)
## Toolchain
* (Balletie) - macOS
+1 -1
View File
@@ -181,7 +181,7 @@ public:
if (res == -1)
{
zip_source_free(source);
throw std::runtime_error("Unable to set file contents.");
throw std::runtime_error(std::string(zip_strerror(_zip)));
}
}