Update MapTileDownloader.java

Increase exception coverage.
This commit is contained in:
vshcherb 2017-04-06 15:26:09 +02:00 committed by GitHub
parent 4cf2e9c908
commit 6079fbfd1e

View file

@ -278,7 +278,7 @@ public class MapTileDownloader {
timeForErrorCounter = System.currentTimeMillis();
request.setError(true);
log.error("UnknownHostException, cannot download tile " + request.url + " " + e.getMessage()); //$NON-NLS-1$ //$NON-NLS-2$
} catch (IOException e) {
} catch (Exception e) {
currentErrors++;
timeForErrorCounter = System.currentTimeMillis();
request.setError(true);