Skip to content
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

Make errors implement Debug+Display #418

Merged
merged 1 commit into from
Feb 17, 2022
Merged

Conversation

calavera
Copy link
Contributor

std::error::Error has the minimal requirement of describing
errors with both of these traits, I think we should enforce it too.

This will allow us to send the full callstack to CloudWatch when
there is an error.

Fixes #348

Signed-off-by: David Calavera david.calavera@gmail.com

By submitting this pull request

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I confirm that I've made a best effort attempt to update all relevant documentation.

std::error::Error has the minimal requirement of describing
errors with both of these traits, I think we should enforce it too.

This will allow us to send the full callstack to CloudWatch when
there is an error.

Signed-off-by: David Calavera <david.calavera@gmail.com>
@calavera calavera mentioned this pull request Feb 17, 2022
2 tasks
@mlafeldt
Copy link

Nice! Now looking forward to a new release. It's been a while since the last one. 😄

@nmoutschen
Copy link
Contributor

@mlafeldt soon, soon 👀 #420

@calavera calavera deleted the error_debug_and_display branch February 17, 2022 15:51
@nmoutschen nmoutschen added the 0.5 label Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Logging error chains to CloudWatch
3 participants