Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

[GH-144] Rethrow cought exceptions to check if the application is throwing them. #145

Merged
merged 1 commit into from
May 10, 2019

Conversation

ksaric
Copy link
Contributor

@ksaric ksaric commented May 9, 2019

#144

This should be released to test with validate-mainnet.
Also, other exceptions should be noticed.

After confirming the exception is not swallowed, we can continue.

@ksaric ksaric requested a review from HirotoShioi May 9, 2019 12:02
@ksaric ksaric requested a review from erikd as a code owner May 9, 2019 12:02
@CodiePP CodiePP added this to the NOD003 Node shell as a library milestone May 9, 2019
@erikd
Copy link
Member

erikd commented May 9, 2019

Seems sensible, especially to do this now rather than later.

Most exceptions should be caught as close as possible to their source and either be handled in an appropriate manner or returned back up the stack as Left error. Having a global top level exception handler than just retries things can hide nasty errors.

Copy link
Contributor

@HirotoShioi HirotoShioi left a comment

Choose a reason for hiding this comment

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

LGTM

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.

4 participants