From f939d164b7404093ade65342601eeaf5cb08274f Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 28 Aug 2020 04:41:36 +0200 Subject: [PATCH] Make queue error handler compatible with Laravel 6 (#2270) --- src/Queue/ExceptionHandler.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Queue/ExceptionHandler.php b/src/Queue/ExceptionHandler.php index f3da5ffc5..d7cc9afd7 100644 --- a/src/Queue/ExceptionHandler.php +++ b/src/Queue/ExceptionHandler.php @@ -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; + } }