flight\Engine::handleException PHP Method

handleException() public method

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