public function b_renderException($exception)
{
// forgive exceptions from formrequest validations
if (get_class($exception) == 'Illuminate\\Http\\Exception\\HttpResponseException' && ends_with($exception->getFile(), 'FormRequest.php')) {
return;
}
if (get_class($exception) == 'Illuminate\\Foundation\\Validation\\ValidationException' && ends_with($exception->getFile(), 'ValidatesRequests.php')) {
return;
}
$this->handleException($exception, false);
}