Changeset 12921 in josm


Ignore:
Timestamp:
2017-10-03T21:43:00+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15394 - catch IAE so we log the URL in case of error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/HttpClient.java

    r12846 r12921  
    141141                    DefaultAuthenticator.getInstance().addFailedCredentialHost(url.getHost());
    142142                }
    143             } catch (IOException e) {
     143            } catch (IOException | IllegalArgumentException e) {
    144144                Logging.info("{0} {1} -> !!!", requestMethod, url);
    145145                Logging.warn(e);
Note: See TracChangeset for help on using the changeset viewer.