Repository navigation
fix(dashmate): status command fails with errors - #1059
Conversation
Co-authored-by: Anton Suprunchuk <[email protected]>
|
I've been testing this one locally against local setup and in the devnet. I am not sure yet about logging the errors, so I just put console.error everywhere Test resultsLocally, I set up fresh dashmate local network, and used On the devnet, I picked up one HPMN, and logged into it. Then I made a reset, forcing L2 into unavailable state. Then I switched to the PR branch, and executed the same command, now it works well: |
Issue being fixed or feature implemented
dashmate statuscommand issue requests to different services and have a lot of places where error can be possibly thrown, but it must not crash or return error to user. Instead, the field should be nulled or hide from the end user. Add tests emulating error case scenarios.What was done?
How Has This Been Tested?
Locally + devnet
Breaking Changes
No
Checklist:
For repository code-owners and collaborators only