Skip to content

contrib/aws/aws-sdk-go-v2: add WithErrorCheck option#2042

Merged
katiehockman merged 2 commits into
DataDog:mainfrom
johanneswuerbach:v2-contrib-aws-error-with-check
Jun 28, 2023
Merged

contrib/aws/aws-sdk-go-v2: add WithErrorCheck option#2042
katiehockman merged 2 commits into
DataDog:mainfrom
johanneswuerbach:v2-contrib-aws-error-with-check

Conversation

@johanneswuerbach

@johanneswuerbach johanneswuerbach commented Jun 14, 2023

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds an WithErrorCheck function similar to #1682

Motivation

This applies the same logic introduced by #1315 on sql tracer.
We need this otherwise DD raises an issue for every kind of error.

Describe how to test/QA your changes

Reviewer's Checklist

  • Changed code has unit tests for its functionality.
  • If this interacts with the agent in a new way, a system test has been added.

@johanneswuerbach
johanneswuerbach requested a review from a team June 14, 2023 07:29

@knusbaum knusbaum left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the contribution.

@katiehockman
katiehockman merged commit 0c67903 into DataDog:main Jun 28, 2023
@johanneswuerbach
johanneswuerbach deleted the v2-contrib-aws-error-with-check branch June 28, 2023 20:26
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.

3 participants