public function render($request, Exception $e)
{
$response = $this->exceptionHandler->render($request, $e);
if ($response instanceof RedirectResponse) {
return $response;
}
$content = $response->getContent();
if ($content instanceof View) {
return $response;
}
$response->setContent($this->blueScreen->render($e));
return $response;
}