Merge pull request #5580 from APriestman/5939_embeddedFileExtractorFixes

5939 SevenZip - Change severe message to warning
This commit is contained in:
Richard Cordovano 2020-01-13 14:14:06 -05:00 committed by GitHub
commit d737fdb42b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,8 +85,9 @@ class SevenZipContentReadStream implements IInStream {
return readBytes;
} catch (IOException ex) {
// This is only a warning because the file may be deleted or otherwise corrupt
String msg = NbBundle.getMessage(this.getClass(), "SevenZipContentReadStream.read.exception.errReadStream");
logger.log(Level.SEVERE, msg, ex);
logger.log(Level.WARNING, msg, ex);
throw new SevenZipException(msg, ex);
}
}