Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Handle exceptions properly in EthScheduler #884

Merged
merged 2 commits into from
Feb 18, 2019

Conversation

ajsutton
Copy link
Contributor

PR description

Ensure exceptions in suppliers passed to EthScheduler are propagated to the returned CompletableFuture. Previously if the Supplier passed to the EthScheduler threw an exception instead of returning a CompletableFuture the exception would be silently ignored. Now it is caught and propagated to the result future so it can be dealt with and/or logged.

@ajsutton ajsutton merged commit 5161b75 into PegaSysEng:master Feb 18, 2019
@ajsutton ajsutton deleted the propagate-exceptions branch February 18, 2019 20:03
rain-on pushed a commit to rain-on/pantheon that referenced this pull request Feb 18, 2019
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.

2 participants