Skip to content

Commit

Permalink
Add shouldReport to ExceptionHandler
Browse files Browse the repository at this point in the history
`shouldReport()` was added to the `ExceptionHandler` interface in Laravel 5.8. When it is not present in this class, it throws an error.

See this PR on Laravel Framework:
laravel/framework#26193
  • Loading branch information
okdewit authored Mar 11, 2019
1 parent af42d33 commit 3afe030
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Adapters/Laravel/ExceptionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ public function report(Exception $e)
{
$this->appExceptionHandler->report($e);
}

/**
* {@inheritdoc}
*/
public function shouldReport(Exception $e)
{
$this->appExceptionHandler->shouldReport($e);
}

/**
* {@inheritdoc}
Expand Down

0 comments on commit 3afe030

Please sign in to comment.