public function execute(\Exception $exception){
		error_log($exception->getMessage()." ".$exception->getFile()."(".$exception->getLine().")");

		if(!$this->environment->isDebug()){
			return;
		}

		$presenter=new HTTPErrorPresenter($this->environment);
		$response=new Response();
		$response->setContent($exception);
		$request=new EmptyRequest('',null);

		$presenter->render($request,$response);

	}
public function execute(\Exception $exception){
		error_log($exception->getMessage()." ".$exception->getFile()."(".$exception->getLine().")");

		if(!$this->environment->isDebug()){
			return;
		}

		$presenter=new HTTPErrorPresenter($this->environment);
		$response=new Response();
		$response->setContent($exception);
		$request=new EmptyRequest('',null);

		$presenter->render($request,$response);

	}
{@inheritdoc}