mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Merge pull request #5266 from wschaeferB/5572-ImproveCorrelationAttributeLogging
5572 improve logging for correlation attribute failure to include inf…
This commit is contained in:
commit
0ea6979ec9
@ -211,8 +211,11 @@ public class EamArtifactUtil {
|
|||||||
TskData.FileKnown.UNKNOWN,
|
TskData.FileKnown.UNKNOWN,
|
||||||
bbSourceFile.getId());
|
bbSourceFile.getId());
|
||||||
|
|
||||||
} catch (TskCoreException | EamDbException | CorrelationAttributeNormalizationException ex) {
|
} catch (TskCoreException ex) {
|
||||||
logger.log(Level.SEVERE, "Error creating artifact instance.", ex); // NON-NLS
|
logger.log(Level.SEVERE, "Error getting AbstractFile for artifact: " + bbArtifact.toString(), ex); // NON-NLS
|
||||||
|
return null;
|
||||||
|
} catch (EamDbException | CorrelationAttributeNormalizationException ex) {
|
||||||
|
logger.log(Level.WARNING, "Error creating artifact instance for artifact: " + bbArtifact.toString(), ex); // NON-NLS
|
||||||
return null;
|
return null;
|
||||||
} catch (NoCurrentCaseException ex) {
|
} catch (NoCurrentCaseException ex) {
|
||||||
logger.log(Level.SEVERE, "Case is closed.", ex); // NON-NLS
|
logger.log(Level.SEVERE, "Case is closed.", ex); // NON-NLS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user