diff --git a/src/Instrumentation/Wordpress/src/WordpressInstrumentation.php b/src/Instrumentation/Wordpress/src/WordpressInstrumentation.php index 96d79deba..97fae1f9a 100644 --- a/src/Instrumentation/Wordpress/src/WordpressInstrumentation.php +++ b/src/Instrumentation/Wordpress/src/WordpressInstrumentation.php @@ -114,7 +114,6 @@ function_exists('is_admin') && $span->setAttribute('wp.is_admin', is_admin()); if (function_exists('is_404') && is_404()) { $span->setAttribute(TraceAttributes::HTTP_RESPONSE_STATUS_CODE, 404); - $span->setStatus(StatusCode::STATUS_ERROR); } //@todo check for other errors?