Changeset 15674 in josm for trunk


Ignore:
Timestamp:
2020-01-10T00:10:45+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #18538 - proper handling of runtime exceptions during HTTP connections

File:
1 edited

Legend:

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

    r15229 r15674  
    7575    @Override
    7676    protected ConnectionResponse performConnection() throws IOException {
    77         connection.connect();
     77        try {
     78            connection.connect();
     79        } catch (RuntimeException e) {
     80            throw new IOException(e);
     81        }
    7882        return new ConnectionResponse() {
    7983            @Override
Note: See TracChangeset for help on using the changeset viewer.