mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
Throw exception from SevenZip init if it fails
This commit is contained in:
parent
7e967e2568
commit
ffd28bf899
@ -134,7 +134,7 @@ public final class SevenZipIngestModule extends IngestModuleAbstractFile {
|
|||||||
String details = "Error initializing output dir: " + unpackDirPath + ": " + e.getMessage();
|
String details = "Error initializing output dir: " + unpackDirPath + ": " + e.getMessage();
|
||||||
//MessageNotifyUtil.Notify.error(msg, details);
|
//MessageNotifyUtil.Notify.error(msg, details);
|
||||||
services.postMessage(IngestMessage.createErrorMessage(++messageID, instance, msg, details));
|
services.postMessage(IngestMessage.createErrorMessage(++messageID, instance, msg, details));
|
||||||
return;
|
throw e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -148,7 +148,7 @@ public final class SevenZipIngestModule extends IngestModuleAbstractFile {
|
|||||||
String details = "Could not initialize 7-ZIP library: " + e.getMessage();
|
String details = "Could not initialize 7-ZIP library: " + e.getMessage();
|
||||||
//MessageNotifyUtil.Notify.error(msg, details);
|
//MessageNotifyUtil.Notify.error(msg, details);
|
||||||
services.postMessage(IngestMessage.createErrorMessage(++messageID, instance, msg, details));
|
services.postMessage(IngestMessage.createErrorMessage(++messageID, instance, msg, details));
|
||||||
return;
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
archiveDepthCountTree = new ArchiveDepthCountTree();
|
archiveDepthCountTree = new ArchiveDepthCountTree();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user