mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 17:27:43 +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();
|
||||
} catch (InvalidPathException ex) {
|
||||
String errorMsg = "Invalid local path provided: " + localPath; // NON-NLS
|
||||
logger.log(Level.WARNING, errorMsg, ex);
|
||||
throw new TskCoreException(errorMsg);
|
||||
throw new TskCoreException(errorMsg, ex);
|
||||
}
|
||||
Report report = this.db.addReport(normalizedLocalPath, srcModuleName, reportName);
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user