From f9adc9b9f17a320749e7dd0fe452e9fa77e7d303 Mon Sep 17 00:00:00 2001 From: William Schaefer Date: Wed, 1 May 2019 14:56:38 -0400 Subject: [PATCH] 4978 add exception to logging when getUniquePath fails for textContentViewer --- .../textcontentviewer/TextContentViewerPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/contentviewers/textcontentviewer/TextContentViewerPanel.java b/Core/src/org/sleuthkit/autopsy/contentviewers/textcontentviewer/TextContentViewerPanel.java index 93a3951218..e1af060cfc 100644 --- a/Core/src/org/sleuthkit/autopsy/contentviewers/textcontentviewer/TextContentViewerPanel.java +++ b/Core/src/org/sleuthkit/autopsy/contentviewers/textcontentviewer/TextContentViewerPanel.java @@ -133,7 +133,7 @@ public class TextContentViewerPanel extends javax.swing.JPanel implements DataCo try { path = content.getUniquePath(); } catch (TskCoreException ex) { - logger.log(Level.SEVERE, "Exception while calling Content.getUniquePath() for {0}", content); //NON-NLS + logger.log(Level.SEVERE, "Exception while calling Content.getUniquePath() for " + content.toString(), ex); //NON-NLS } setName(path); } else {