Changeset 5575 in josm for trunk


Ignore:
Timestamp:
2012-11-09T20:18:01+01:00 (12 years ago)
Author:
Don-vip
Message:

fix #8186 - Error message from OsmServerReader with wrong URL (patch by roland.olbricht)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmServerReader.java

    r5494 r5575  
    9191            } catch (Exception e) {
    9292                e.printStackTrace();
    93                 throw new OsmTransferException(tr("Could not connect to the OSM server. Please check your internet connection."), e);
     93                OsmTransferException ote = new OsmTransferException(tr("Could not connect to the OSM server. Please check your internet connection."), e);
     94                ote.setUrl(url.toString());
     95                throw ote;
    9496            }
    9597            try {
Note: See TracChangeset for help on using the changeset viewer.