mirror of
https://github.com/flarum/core.git
synced 2025-07-24 18:21:33 +02:00
Make queue error handler compatible with Laravel 6 (#2270)
This commit is contained in:
@@ -59,4 +59,15 @@ class ExceptionHandler implements ExceptionHandling
|
||||
{
|
||||
// TODO: Implement renderForConsole() method.
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the exception should be reported.
|
||||
*
|
||||
* @param \Exception $e
|
||||
* @return bool
|
||||
*/
|
||||
public function shouldReport(Exception $e)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user