diff --git a/Experimental/src/org/sleuthkit/autopsy/experimental/autoingest/AutoIngestManager.java b/Experimental/src/org/sleuthkit/autopsy/experimental/autoingest/AutoIngestManager.java index 7f9dcc7e4d..1e351d9356 100755 --- a/Experimental/src/org/sleuthkit/autopsy/experimental/autoingest/AutoIngestManager.java +++ b/Experimental/src/org/sleuthkit/autopsy/experimental/autoingest/AutoIngestManager.java @@ -2592,12 +2592,12 @@ final class AutoIngestManager extends Observable implements PropertyChangeListen */ List contentList = dataSource.getContent(); long dataSourceSize = 0; - for (Content content : contentList) { - try { + try { + for (Content content : contentList) { dataSourceSize += ((DataSource) content).getContentSize(caseDb); - } catch (TskCoreException ex) { - throw new JobMetricsCollectionException("Unable to get the data content size.", ex); } + } catch (TskCoreException ex) { + throw new JobMetricsCollectionException("Unable to get the data content size.", ex); } currentJob.setDataSourceSize(dataSourceSize);