mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Not logging invalidpathException
This commit is contained in:
parent
9b021d5adb
commit
10f66173a0
@ -1170,8 +1170,7 @@ public class Case implements SleuthkitCase.ErrorObserver {
|
|||||||
normalizedLocalPath = Paths.get(localPath).normalize().toString();
|
normalizedLocalPath = Paths.get(localPath).normalize().toString();
|
||||||
} catch (InvalidPathException ex) {
|
} catch (InvalidPathException ex) {
|
||||||
String errorMsg = "Invalid local path provided: " + localPath; // NON-NLS
|
String errorMsg = "Invalid local path provided: " + localPath; // NON-NLS
|
||||||
logger.log(Level.WARNING, errorMsg, ex);
|
throw new TskCoreException(errorMsg, ex);
|
||||||
throw new TskCoreException(errorMsg);
|
|
||||||
}
|
}
|
||||||
Report report = this.db.addReport(normalizedLocalPath, srcModuleName, reportName);
|
Report report = this.db.addReport(normalizedLocalPath, srcModuleName, reportName);
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user