Skip to content

Commit 5c2e986

Browse files
authored
Report package errors instead of throwing an exception (#4)
1 parent faefdfc commit 5c2e986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Notifications/SendToSlack.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function send($message): void
117117

118118
NotificationFacade::route('slack', $this->to)->notify($this);
119119
} catch (Throwable $e) {
120-
throw WebhookSendFail::make($e);
120+
report(WebhookSendFail::make($e));
121121
}
122122
}
123123

0 commit comments

Comments
 (0)