Changeset 10253 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2016-05-18T23:27:06+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #12853 - handle OSM API error properly when maximum bounds are exceeded for a GPX download request

File:
1 edited

Legend:

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

    r10212 r10253  
    6868                    done = true;
    6969                }
     70            } catch (OsmApiException ex) {
     71                throw ex; // this avoids infinite loop in case of API error such as bad request (ex: bbox too large, see #12853)
    7072            } catch (OsmTransferException | SocketException ex) {
    7173                if (isCanceled()) {
Note: See TracChangeset for help on using the changeset viewer.