public function handleException($e) { if ($this->get('flight.log_errors')) { error_log($e->getMessage()); } $this->error($e); }