Skip to content

Commit

Permalink
Report package errors instead of throwing an exception
Browse files Browse the repository at this point in the history
  • Loading branch information
stasadev committed Jul 2, 2023
1 parent faefdfc commit 38e7435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Notifications/SendToSlack.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function send($message): void

NotificationFacade::route('slack', $this->to)->notify($this);
} catch (Throwable $e) {
throw WebhookSendFail::make($e);
report(WebhookSendFail::make($e));
}
}

Expand Down

0 comments on commit 38e7435

Please sign in to comment.