Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit d80da59

Browse files
committed
Fix: 修复极光服务器报错时屏蔽了第三方错误问题
1 parent 40bc6bd commit d80da59

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/Channel.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,7 @@ public function send($notifiable, Notification $notification)
4343
$payload = new PushPayload($this->client->push());
4444
$payload->make($to);
4545
$payload->make($message);
46-
47-
try {
48-
$payload->send();
49-
} catch (\Throwable $th) {
50-
return;
51-
}
46+
47+
return $payload->send();
5248
}
5349
}

0 commit comments

Comments
 (0)