Ignore:
Timestamp:
2016-07-24T14:48:47+02:00 (10 years ago)
Author:
Don-vip
Message:

sonar - squid:S1166 - Exception handlers should preserve the original exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/GettingStarted.java

    r10620 r10627  
    145145                    ProxyPreference.removeProxyPreferenceListener(GettingStarted.this);
    146146                } catch (IOException ex) {
    147                     Main.warn(tr("Failed to read MOTD. Exception was: {0}", ex.toString()));
     147                    Main.warn(ex, tr("Failed to read MOTD. Exception was: {0}", ex.toString()));
    148148                    content = "<html>" + STYLE + "<h1>" + "JOSM - " + tr("Java OpenStreetMap Editor")
    149149                            + "</h1>\n<h2 align=\"center\">(" + tr("Message of the day not available") + ")</h2></html>";
Note: See TracChangeset for help on using the changeset viewer.