Updated the error handler to work with the latest version of Laravel 5.0