mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Get stack trace in TextFileExtractor.isSupported
This commit is contained in:
parent
b1e62b318a
commit
61d8a05b64
@ -86,7 +86,7 @@ public final class TextFileExtractor implements TextExtractor {
|
|||||||
try {
|
try {
|
||||||
fileTypeDetector = new FileTypeDetector();
|
fileTypeDetector = new FileTypeDetector();
|
||||||
} catch (FileTypeDetector.FileTypeDetectorInitException ex) {
|
} catch (FileTypeDetector.FileTypeDetectorInitException ex) {
|
||||||
logger.log(Level.SEVERE, "Unable to create file type detector for determining MIME type.");
|
logger.log(Level.SEVERE, "Unable to create file type detector for determining MIME type", ex);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
mimeType = fileTypeDetector.getMIMEType(file);
|
mimeType = fileTypeDetector.getMIMEType(file);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user