-
Notifications
You must be signed in to change notification settings - Fork 375
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
chore(gnokey): print verbose errors in CLI #806
Conversation
Hmm. What if instead we changed the behaviour of When thinking about errors in general, I don't think we should display them as |
Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com>
9445eee
to
96762c2
Compare
Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com>
Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com>
Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com>
Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com>
Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com>
Co-authored-by: Morgan <morgan@morganbaz.com>
Co-authored-by: Morgan <morgan@morganbaz.com>
Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 💯
I know a lot of people have been struggling with vague internal error
messages - I guess not anymore 🚀
Co-authored-by: Morgan <morgan@morganbaz.com>
Wrapped errors (particularly abci ones) were displayed partially.
This PR extends
tm2/pkg/errors
to enhance error information when using the%+v
error format. It offers detailed message traces similar to%#v
, but in a more user-friendly manner. Furthermore, it includes stack traces forabciError
from CLI in the output.Before
After
Maybe we should print this format selectively, exclusively for
abciError
.