Skip to content

Commit

Permalink
fix fix exceptions in onFailure method
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-ivona committed Aug 26, 2024
1 parent 07e08db commit 84434c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handlers/WebhookHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,6 @@ protected function onFailure(Throwable $throwable): void

report($throwable);

$this->reply(__('telegraph::errors.webhook_error_occurred'));
rescue(fn () => $this->reply(__('telegraph::errors.webhook_error_occurred')), report: false);
}
}

0 comments on commit 84434c3

Please sign in to comment.