You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, using ActionFuture#actionGet will cause an ElasticSearchException to be thrown, but, it can be wrapped, for example, with a RemoteTransportException. The wrapping can be important, as it provides a "trace" to the origin of the failure.
We can automatically unwrap to the actual failure when throwing a failure from actionGet, and add to ActionFuture a helper method called getRootFailure which provides the actual (possibly wrapped) exception.
The text was updated successfully, but these errors were encountered:
Currently, using
ActionFuture#actionGet
will cause anElasticSearchException
to be thrown, but, it can be wrapped, for example, with aRemoteTransportException
. The wrapping can be important, as it provides a "trace" to the origin of the failure.We can automatically unwrap to the actual failure when throwing a failure from
actionGet
, and add toActionFuture
a helper method calledgetRootFailure
which provides the actual (possibly wrapped) exception.The text was updated successfully, but these errors were encountered: