Skip to content

Commit

Permalink
updated exception handler
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Mar 13, 2020
1 parent 31d1e70 commit 25a7f65
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ class Handler extends ExceptionHandler
/**
* Report or log an exception.
*
* This is a great spot to send exceptions to Sentry, Bugsnag, etc.
*
* @param \Throwable $exception
* @return void
*
* @throws \Exception
*/
public function report(Throwable $exception)
{
Expand All @@ -48,7 +48,9 @@ public function report(Throwable $exception)
*
* @param \Illuminate\Http\Request $request
* @param \Throwable $exception
* @return \Illuminate\Http\Response
* @return \Symfony\Component\HttpFoundation\Response
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
Expand Down

0 comments on commit 25a7f65

Please sign in to comment.