Mercurial > hg > orthanc
changeset 4800:588fa6fb32ca
more detailed error message for unsupported zip files
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 18 Oct 2021 21:55:06 +0200 |
parents | 22d5b611dea7 |
children | 23aeffecb8cb |
files | OrthancFramework/Sources/Compression/ZipReader.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Sources/Compression/ZipReader.cpp Thu Sep 30 17:52:07 2021 +0200 +++ b/OrthancFramework/Sources/Compression/ZipReader.cpp Mon Oct 18 21:55:06 2021 +0200 @@ -353,7 +353,7 @@ } else { - throw OrthancException(ErrorCode_BadFileFormat); + throw OrthancException(ErrorCode_BadFileFormat, "Invalid file or unsupported compression method (e.g. Deflate64)"); } }