Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
khanayan123 committed Jun 7, 2024
1 parent ae9be2f commit a947a09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/dd-trace/src/format.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ function extractTags (trace, span) {
extractError(trace, tags[tag])
}
break
// to ensure any error set through otel.setStatus is still set even though otel.recordException has been called
case 'setTraceError':
trace.error = 1
break
Expand Down

0 comments on commit a947a09

Please sign in to comment.