Ignore:
Timestamp:
2016-06-18T19:54:45+02:00 (5 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/tools/bugreport/BugReportExceptionHandler.java

    r10285 r10420  
    103103                    }
    104104                } catch (IOException | NumberFormatException ex) {
    105                     Main.warn("Unable to detect latest version of JOSM: "+ex.getMessage());
     105                    Main.warn(ex, "Unable to detect latest version of JOSM:");
    106106                }
    107107            }
     
    137137                    Main.platform.openUrl(Main.getJOSMWebsite());
    138138                } catch (IOException ex) {
    139                     Main.warn("Unable to access JOSM website: "+ex.getMessage());
     139                    Main.warn(ex, "Unable to access JOSM website:");
    140140                }
    141141            } else {
Note: See TracChangeset for help on using the changeset viewer.