Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error handlers #3

Merged
merged 7 commits into from
Dec 9, 2018

Conversation

ManfredKarrer
Copy link

@ManfredKarrer ManfredKarrer commented Dec 8, 2018

I got locally IO exceptions with Bitcoin core RPC connection and it was not propaged to the Bisq RPCService class. This PR adds support for error handlers to get notified about such exceptions and to react accordingly.

  • Use Callable instead of Runnable to support exception handling
  • Add error handler to forward exceptions in threads to client
  • Add more logs
  • Add Nullable annotation
  • Use ListeningExecutorService
  • Catch generic exceptions
  • Make NotificationHandlerException checked exception
  • Set version 0.5.8.4

- Use Callable instead of Runnable to support exception handling
- Add error handler to forward exceptions in threads to client
- Add more logs
- Add Nullable annotation
- Use ListeningExecutorService
- Catch generic exceptions
- Make NotificationHandlerException checked exception
- Set version 0.5.8.4
Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@ManfredKarrer ManfredKarrer merged commit 065d378 into bisq-network:master Dec 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants