Skip to content
This repository was archived by the owner on Jan 23, 2018. It is now read-only.

The Whoops Error Handler

Sam Rapaport edited this page Jul 11, 2016 · 2 revisions

Laravel Kickstart requires the filp/whoops error handler by default, however one manual step is required to utilize it.

Head over to app/Exceptions/Handler.php and replace:

use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;

with:

use Samrap\Kickstart\Exceptions\Handler as ExceptionHandler;

Now, every time an error is thrown while in debug mode, the Whoops handler will be used to provide beautiful error reporting. And not to worry, the Whoops handler will never be used in production mode.

Clone this wiki locally