Ignore:
Timestamp:
2015-08-05T23:51:30+02:00 (9 years ago)
Author:
wiktorn
Message:

Fix behaviour when exception is thrown during download.

  • fix endless download, when exception is thrown during download
  • draw multiline error text on tile if error string is longer than tile width
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoaderJob.java

    r8640 r8643  
    188188                    }
    189189                    int httpStatusCode = attributes.getResponseCode();
    190                     if (!isNoTileAtZoom() && httpStatusCode >= 400 && httpStatusCode != 499) {
     190                    if (!isNoTileAtZoom() && httpStatusCode >= 400) {
    191191                        if (attributes.getErrorMessage() == null) {
    192192                            tile.setError(tr("HTTP error {0} when loading tiles", httpStatusCode));
Note: See TracChangeset for help on using the changeset viewer.