The report function will report an exception using your exception handler:
report($e);
                $this->forever($key$interval['resolver']());

            } catch (
Throwable $e) {

                
report($e);

            }

        }

    }
                try {

                    
$this->downloadRoadRunnerBinary();

                } catch (
Throwable $e) {

                    
report($e);



                    
rename("$roadRunnerBinary.backup"$roadRunnerBinary);
                try {

                    return 
$task();

                } catch (
Throwable $e) {

                    
report($e);



                    return 
TaskExceptionResult::from($e);

                }