public function process($exception)
    {
        $templateName = $this->configData->getRequired('template');
        $trace = $this->debug->exceptionTrace($exception);
        
        $body = $this->template->render(
            $templateName,
            array(
                'exception' => $exception,
                'trace'     => $trace,
                'logger'    => $this->debug->logger()
            )
        );
        
        return $this->http->responses()->response($body, array(), 500);
    }