We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71ab568 commit f0cb777Copy full SHA for f0cb777
src/Instrumentation/Symfony/src/SymfonyInstrumentation.php
@@ -100,9 +100,7 @@ public static function register(): void
100
101
$span = Span::fromContext($scope->context());
102
$scope->detach();
103
- $span->recordException($exception, [
104
- TraceAttributes::EXCEPTION_ESCAPED => true,
105
- ]);
+ $span->recordException($exception);
106
if (null !== $response && $response->getStatusCode() >= Response::HTTP_INTERNAL_SERVER_ERROR) {
107
$span->setStatus(StatusCode::STATUS_ERROR, $exception->getMessage());
108
}
0 commit comments