public function run()
    {
        try {
            $this->init();
            $this->executeController();
        } catch (\Exception $e) {
            $this->logger->addCritical('Exception caught', array('exception' => $e));
            $this->response->setHttpResponseCode(500);
        }
    }