Skip to content

Commit f0cb777

Browse files
committed
fix(tests): Remove deprecated EXCEPTION_ESCAPED attribute
1 parent 71ab568 commit f0cb777

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Instrumentation/Symfony/src/SymfonyInstrumentation.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@ public static function register(): void
100100

101101
$span = Span::fromContext($scope->context());
102102
$scope->detach();
103-
$span->recordException($exception, [
104-
TraceAttributes::EXCEPTION_ESCAPED => true,
105-
]);
103+
$span->recordException($exception);
106104
if (null !== $response && $response->getStatusCode() >= Response::HTTP_INTERNAL_SERVER_ERROR) {
107105
$span->setStatus(StatusCode::STATUS_ERROR, $exception->getMessage());
108106
}

0 commit comments

Comments
 (0)