indra icon indicating copy to clipboard operation
indra copied to clipboard

[all] Error handling

Open LayneHaber opened this issue 5 years ago • 0 comments

Expected Behavior

Current Behavior

Error handling is a mess, with the same error being thrown and logged at multiple layers of the stack. Additionally, the logging is overwhelming, making it tough to decipher what is going on in the case of multiple clients and a single node.

Possible Solution

We should create a custom error class and make sure all functions use this, it is bubbled up to the top most layer with all relevant context, and the logging is handled properly.

LayneHaber avatar Jul 15 '20 17:07 LayneHaber