Ignore:
Timestamp:
2016-07-24T13:54:44+02:00 (8 years ago)
Author:
Don-vip
Message:

simplify handling of ignored/traced exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ExceptionUtil.java

    r10616 r10626  
    476476        } catch (MalformedURLException ex) {
    477477            // shouldn't happen
    478             if (Main.isTraceEnabled()) {
    479                 Main.trace(e.getMessage());
    480             }
     478            Main.trace(ex);
    481479        }
    482480
     
    625623        } catch (MalformedURLException ex) {
    626624            // shouldn't happen
    627             if (Main.isTraceEnabled()) {
    628                 Main.trace(e.getMessage());
    629             }
     625            Main.trace(e);
    630626        }
    631627
Note: See TracChangeset for help on using the changeset viewer.