Skip to content
Snippets Groups Projects
Commit 881e4e52 authored by pkupczyk's avatar pkupczyk
Browse files

BIS-506: Zip file based archiver consistency checks - improve error message

SVN: 29881
parent 704b72a3
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ public class ZipFileIntegrityVerifier extends AbstractZipFileVerifier ...@@ -73,7 +73,7 @@ public class ZipFileIntegrityVerifier extends AbstractZipFileVerifier
} catch (ZipException ex) } catch (ZipException ex)
{ {
return new VerificationError(VerificationErrorType.ERROR, ex.getMessage()); return new VerificationError(VerificationErrorType.ERROR, "Corrupted zip file entry, reason: " + ex.getMessage());
} catch (IOException ex) } catch (IOException ex)
{ {
return new VerificationError(VerificationErrorType.ERROR, entry.getName() + ": " + ex.getMessage()); return new VerificationError(VerificationErrorType.ERROR, entry.getName() + ": " + ex.getMessage());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment