mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 11:07:43 +00:00
Minor
This commit is contained in:
parent
1257120c1d
commit
c5b8b91c39
@ -110,7 +110,7 @@ class ReportCaseUco implements GeneralReportModule {
|
|||||||
try {
|
try {
|
||||||
currentCase = Case.getCurrentCaseThrows();
|
currentCase = Case.getCurrentCaseThrows();
|
||||||
} catch (NoCurrentCaseException ex) {
|
} catch (NoCurrentCaseException ex) {
|
||||||
logger.log(Level.SEVERE, "Exception while getting open case.", ex);
|
logger.log(Level.SEVERE, "Exception while getting open case.", ex); //NON-NLS
|
||||||
MessageNotifyUtil.Message.error(Bundle.ReportCaseUco_noCaseOpen());
|
MessageNotifyUtil.Message.error(Bundle.ReportCaseUco_noCaseOpen());
|
||||||
progressPanel.complete(ReportStatus.ERROR);
|
progressPanel.complete(ReportStatus.ERROR);
|
||||||
return;
|
return;
|
||||||
@ -123,7 +123,7 @@ class ReportCaseUco implements GeneralReportModule {
|
|||||||
|
|
||||||
// Create the JSON generator
|
// Create the JSON generator
|
||||||
JsonFactory jsonGeneratorFactory = new JsonFactory();
|
JsonFactory jsonGeneratorFactory = new JsonFactory();
|
||||||
String reportPath = baseReportDir + getRelativeFilePath(); //NON-NLS
|
String reportPath = baseReportDir + getRelativeFilePath();
|
||||||
java.io.File reportFile = Paths.get(reportPath).toFile();
|
java.io.File reportFile = Paths.get(reportPath).toFile();
|
||||||
try {
|
try {
|
||||||
Files.createDirectories(Paths.get(reportFile.getParent()));
|
Files.createDirectories(Paths.get(reportFile.getParent()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user