mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
Merge pull request #6827 from markmckinnon/73880-New-Parser-Errors
7388-New-Email-Parser-Errors
This commit is contained in:
commit
26f25e9d25
@ -107,6 +107,11 @@ class PstParser implements AutoCloseable{
|
||||
logger.log(Level.INFO, "Found encrypted PST file."); //NON-NLS
|
||||
return ParseResult.ENCRYPT;
|
||||
}
|
||||
if (ex.getMessage().toLowerCase().startsWith("unable to")) {
|
||||
logger.log(Level.WARNING, ex.getMessage());
|
||||
logger.log(Level.WARNING, String.format("Error in parsing PST file %s, file may be empty or corrupt", file.getName()));
|
||||
return ParseResult.ERROR;
|
||||
}
|
||||
String msg = file.getName() + ": Failed to create internal java-libpst PST file to parse:\n" + ex.getMessage(); //NON-NLS
|
||||
logger.log(Level.WARNING, msg, ex);
|
||||
return ParseResult.ERROR;
|
||||
|
Loading…
x
Reference in New Issue
Block a user