From 5e2007ead29f9eaaa285b435fc9a45b598745d7a Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Tue, 23 Jun 2026 17:16:49 +0530 Subject: [PATCH] linting --- app/realtime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/realtime.php b/app/realtime.php index 91b55d1ec4..cd1d3bf83e 100644 --- a/app/realtime.php +++ b/app/realtime.php @@ -1455,7 +1455,7 @@ $server->onClose(function (int $connection) use ($realtime, $stats, $register, $ $eventTailRegistry->removeConnection($connection); } catch (\Throwable $th) { Console::error('Realtime onClose tail cleanup error: ' . $th->getMessage()); - Span::error($th); + Span::current()?->setError($th); } Span::add('realtime.success', $success);