diff --git a/src/sentry/src/Transport/CoHttpTransport.php b/src/sentry/src/Transport/CoHttpTransport.php index 3e1a39812..ffa5e658e 100644 --- a/src/sentry/src/Transport/CoHttpTransport.php +++ b/src/sentry/src/Transport/CoHttpTransport.php @@ -70,9 +70,9 @@ public function send(Event $event): Result $chan = $this->chan; // push event to channel, if timeout is set, it will wait for the specified time - $chan?->push($event, $this->timeout); + $result = $chan?->push($event, $this->timeout) ? ResultStatus::success() : ResultStatus::skipped(); - return new Result(ResultStatus::success(), $event); + return new Result($result, $event); } public function close(?int $timeout = null): Result