Skip to content

Commit

Permalink
npm run lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jj22ee committed Jul 22, 2024
1 parent 27996bb commit 393de02
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,7 @@ export class AwsInstrumentation extends InstrumentationBase {
span.setAttribute(AttributeNames.AWS_REQUEST_ID, requestId);
}

const httpStatusCode =
err?.$metadata?.httpStatusCode;
const httpStatusCode = err?.$metadata?.httpStatusCode;
if (httpStatusCode) {
span.setAttribute(
SEMATTRS_HTTP_STATUS_CODE,
Expand Down

0 comments on commit 393de02

Please sign in to comment.