mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
do not throw unchecked exception when closing viewer
This commit is contained in:
parent
55f1ddcd97
commit
9cf94d5525
@ -110,8 +110,7 @@ public abstract class AbstractDataResultViewer extends JPanel implements
|
||||
this.em.getRootContext().destroy();
|
||||
em = null;
|
||||
} catch (IOException ex) {
|
||||
// TODO: What's the proper thing to do here? Should it log? Not throw runtime exception?
|
||||
throw new RuntimeException("Error: can't clear the component of the Thumbnail Result Viewer.", ex);
|
||||
logger.log(Level.WARNING, "Can't clear the component of the Thumbnail Result Viewer.", ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user