GitHub user Graeme-Miller opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/1141
Fixed issue with exceptions in Rest Client
Calling getEntity on BuiltResponsePreservingError would propagate a
previously caught and ignored exception. Because of this the output did not
mention that getEntity was the line propagating the exception. We now throw an
IllegalStateException to make it clear where the exception is coming from
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Graeme-Miller/incubator-brooklyn
fix_rest_client_exception
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/1141.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1141
----
commit 71cfdc66f5d4b75fdd68bb455c0f31e0a15dd9e5
Author: Graeme-Miller <[email protected]>
Date: 2016-01-13T15:35:17Z
Fixed an issue, where calling getEntity on BuiltResponsePreservingError
would throw a previously caught error. We now throw an IllegalStateException to
make it clear where the exception is coming from
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---