This repository has been archived by the owner on May 28, 2021. It is now read-only.
[all] Error handling #1316
Labels
Chore
Devops or refactoring task
p1 Bugs/Tests/Blockers
Bugs that break things but no loss of funds + Test improvements + PRIORITY blockers for customers.
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.
The text was updated successfully, but these errors were encountered: