AMQ-7069 HTTP client don't handle XStream deserialization exception

This commit is contained in:
amarkevich 2018-10-10 16:57:49 +03:00
parent a311139bfe
commit b830894e69
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ public class HttpClientTransport extends HttpTransportSupport {
}
stream.close();
}
} catch (IOException e) {
} catch (Exception e) { // handle RuntimeException from unmarshal
onException(IOExceptionSupport.create("Failed to perform GET on: " + remoteUrl + " Reason: " + e.getMessage(), e));
break;
} finally {