diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 000510a5..e5cdc935 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -1,6 +1,7 @@ reportException($e); - - $this->renderException($output, $e); - - return 1; - } + $schedule->artisan('foo') + ->hourly(); } } diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php new file mode 100644 index 00000000..70400df1 --- /dev/null +++ b/app/Exceptions/Handler.php @@ -0,0 +1,31 @@ +reportException($e); - - return $this->renderException($request, $e); - } - } - } diff --git a/bootstrap/app.php b/bootstrap/app.php index b7eec51f..b187f0cf 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -38,7 +38,7 @@ $app->singleton( $app->singleton( 'Illuminate\Contracts\Debug\ExceptionHandler', - 'Illuminate\Foundation\Debug\ExceptionHandler' + 'App\Exceptions\ExceptionHandler' ); /*