-
Notifications
You must be signed in to change notification settings - Fork 254
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: improve some error messages #1183
chore: improve some error messages #1183
Conversation
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.
I think this is good, thanks!
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.
Lgtm! Thanks for contributing!
@@ -73,7 +73,7 @@ pub enum Error { | |||
Unknown(Vec<u8>), | |||
/// Light client error. | |||
#[cfg(feature = "unstable-light-client")] | |||
#[error("An error occurred but it could not be decoded: {0:?}")] | |||
#[error("An error occurred but it could not be decoded: {0}")] |
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.
I'd be interested to know if this is something you've encountered in the wild
@@ -73,7 +73,7 @@ pub enum Error { | |||
Unknown(Vec<u8>), | |||
/// Light client error. | |||
#[cfg(feature = "unstable-light-client")] | |||
#[error("An error occurred but it could not be decoded: {0:?}")] | |||
#[error("An error occurred but it could not be decoded: {0}")] |
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.
#[error("An error occurred but it could not be decoded: {0}")] | |
#[error("Light Client error: {0}")] |
No description provided.