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

sqs: Print error chain for aws SDK errors #67

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

svix-jplatte
Copy link
Member

As recommended in the documentation for SdkError:
https://docs.rs/aws-smithy-runtime-api/1.3.0/aws_smithy_runtime_api/client/result/enum.SdkError.html

Note: Not using DisplayErrorContext as it also debug-prints the whole error after showing the error chain, which includes the raw response.

As recommended in the documentation for SdkError:
https://docs.rs/aws-smithy-runtime-api/1.3.0/aws_smithy_runtime_api/client/result/enum.SdkError.html

Note: Not using `DisplayErrorContext` as it also debug-prints the whole
error after showing the error chain, which includes the raw response.
@svix-jplatte svix-jplatte requested a review from a team as a code owner April 3, 2024 14:33
@svix-jplatte svix-jplatte merged commit 6445fdb into main Apr 3, 2024
4 checks passed
@svix-jplatte svix-jplatte deleted the jplatte/better-sqs-error-messages branch April 3, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants