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

This commit is contained in:
John Mulcahy 2023-03-22 15:52:54 -04:00 committed by GitHub
parent 614997bf5a
commit 3916221cfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

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

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)));
}
}