From 10f66173a02a6269a0d3bcbc1fa1f1cadf50d40f Mon Sep 17 00:00:00 2001 From: Sidhesh Mhatre Date: Wed, 24 Jun 2015 16:19:16 -0400 Subject: [PATCH] Not logging invalidpathException --- Core/src/org/sleuthkit/autopsy/casemodule/Case.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/casemodule/Case.java b/Core/src/org/sleuthkit/autopsy/casemodule/Case.java index f763c708a4..298435eeb0 100644 --- a/Core/src/org/sleuthkit/autopsy/casemodule/Case.java +++ b/Core/src/org/sleuthkit/autopsy/casemodule/Case.java @@ -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 {