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

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

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

@param \Exception $e Thrown exception
Custom exception handler . Logs exceptions .