Skip to content

Commit

Permalink
Add reportable exception to Signature validator
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrillkalita committed Aug 26, 2020
1 parent 36f5c4e commit d3edede
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MailgunSignatureValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public function isValid(Request $request, WebhookConfig $config): bool
try {
Webhook::constructEvent($request->all(), $signature, $secret);
} catch (Exception $exception) {
report($exception);

return false;
}

Expand Down

0 comments on commit d3edede

Please sign in to comment.