Merge pull request #305 from amarkevich/AMQ-7069

AMQ-7069 HTTP client don't handle XStream deserialization exception
This commit is contained in:
Jean-Baptiste Onofré 2019-11-17 17:43:26 +01:00 committed by GitHub
commit f7b08713f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,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 {