Skip to content

Commit d3edede

Browse files
committed
Add reportable exception to Signature validator
1 parent 36f5c4e commit d3edede

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/MailgunSignatureValidator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ public function isValid(Request $request, WebhookConfig $config): bool
3939
try {
4040
Webhook::constructEvent($request->all(), $signature, $secret);
4141
} catch (Exception $exception) {
42+
report($exception);
43+
4244
return false;
4345
}
4446

0 commit comments

Comments
 (0)