Ignore:
Timestamp:
2017-04-23T14:45:06+02:00 (3 years ago)
Author:
stoecker
Message:

improve overpass API rate limit message, fix wrong timeout error message

File:
1 edited

Legend:

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

    r11924 r11984  
    201201                final String errorPlusRest = ex.getMessage().split(errorIndicator)[1];
    202202                if (errorPlusRest != null) {
    203                     final String error = errorPlusRest.split("</")[0];
     203                    final String error = errorPlusRest.split("</")[0].replaceAll(".*::request_read_and_idx::","");
    204204                    ex.setErrorHeader(error);
    205205                }
Note: See TracChangeset for help on using the changeset viewer.