diff --git a/source/net/sourceforge/filebot/Analytics.java b/source/net/sourceforge/filebot/Analytics.java index 5a49c922..2f550315 100644 --- a/source/net/sourceforge/filebot/Analytics.java +++ b/source/net/sourceforge/filebot/Analytics.java @@ -82,8 +82,8 @@ public class Analytics { GraphicsDevice[] display = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices(); config.setScreenResolution(getScreenResolution(display)); config.setColorDepth(getColorDepth(display)); - } catch (HeadlessException e) { - Logger.getLogger(Analytics.class.getName()).warning(e.getMessage()); + } catch (Throwable e) { + Logger.getLogger(Analytics.class.getName()).finest("Headless: " + e.getMessage()); config.setScreenResolution("80x25"); config.setColorDepth("1"); }