Skip to content
Snippets Groups Projects
Commit 772b0ce0 authored by apriestman's avatar apriestman
Browse files

Formatting fix

parent acd41e6b
Branches
Tags
No related merge requests found
......@@ -394,14 +394,14 @@ private long addBatchedFilesToDb() {
parentDirCache.put(key, objId);
}
} catch (TskCoreException ex) {
if (computedParentObjId > 0) {
// Most likely a database error occurred
logger.log(Level.SEVERE, "Error adding file to the database - parent object ID: " + computedParentObjId
+ ", file system object ID: " + fileInfo.fsObjId + ", name: " + fileInfo.name, ex);
} else {
// The parent lookup failed
logger.log(Level.SEVERE, "Error adding file to the database", ex);
}
if (computedParentObjId > 0) {
// Most likely a database error occurred
logger.log(Level.SEVERE, "Error adding file to the database - parent object ID: " + computedParentObjId
+ ", file system object ID: " + fileInfo.fsObjId + ", name: " + fileInfo.name, ex);
} else {
// The parent lookup failed
logger.log(Level.SEVERE, "Error adding file to the database", ex);
}
}
}
commitTransaction();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment