Skip to content

Instantly share code, notes, and snippets.

@wayneashleyberry
Created November 12, 2012 21:10
Show Gist options
  • Save wayneashleyberry/4061922 to your computer and use it in GitHub Desktop.
Save wayneashleyberry/4061922 to your computer and use it in GitHub Desktop.
testing laravel errors
<?php
return array(
'ignore' => array(),
'detail' => true,
'log' => true,
'logger' => function($exception)
{
die($exception);
}
);
<?php
Route::get('test', function () {
Log::error('foo');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment