Revision: 5260
          http://sourceforge.net/p/jump-pilot/code/5260
Author:   edso
Date:     2016-12-15 11:27:04 +0000 (Thu, 15 Dec 2016)
Log Message:
-----------
simply log the throwable

Modified Paths:
--------------
    core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java

Modified: 
core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java
===================================================================
--- core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java     
2016-12-15 11:26:16 UTC (rev 5259)
+++ core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java     
2016-12-15 11:27:04 UTC (rev 5260)
@@ -1238,8 +1238,8 @@
      * show a modal error dialog and log the issue
      */
     public void handleThrowable(final Throwable t, final Component parent) {
-        // always log message and stack only if debug is enabled
-        Logger.warn(t.getMessage(), Logger.isDebugEnabled() ? t : null);
+        // always log as error
+        Logger.error(t);
 
         final String stack = StringUtil.stackTrace(t);
         // show it


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to