Corrected invalid path concatenation.

This commit is contained in:
U-BASIS\dgrove 2018-01-08 12:05:46 -05:00
parent b6b49f6ebb
commit c8b0ee9023

View File

@ -96,7 +96,7 @@ final class EncryptionDetectionFileIngestModule extends FileIngestModuleAdapter
return flagFile(file);
}
} catch (IOException | TskCoreException ex) {
LOGGER.log(Level.SEVERE, String.format("Unable to process file '%s'", Paths.get(file.getParentPath(), file.getName())), ex);
LOGGER.log(Level.SEVERE, String.format("Unable to process file '%s'", file.getParentPath() + file.getName()), ex);
return IngestModule.ProcessResult.ERROR;
}