Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Conversation

@chaptastic
Copy link
Contributor

I ran into an issue with a predicate that was throwing an NPE causing the future to never complete or be retried. This patch catches any errors thrown while testing a caught Throwable and logs them then completes the future with the original Throwable.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.57%) to 91.24% when pulling 9724cbc on chaptastic:predicate-throws into 47d9f67 on nurkiewicz:master.

@nurkiewicz
Copy link
Owner

Merged (with formatting changes) in 47af5d8, thank you!

For a moment I was wondering whether the predicate exception shouldn't be the one that terminates future, I believe your version (just logging) is much better.

@nurkiewicz nurkiewicz closed this May 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants