Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[#3385] Update logic bloc

  • Loading branch information...
commit 0626cc2ab5006b118ecef5e182d06603aece9295 1 parent 28c6cc2
@weierophinney weierophinney authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 library/Zend/Mvc/View/Http/DefaultRenderingStrategy.php
View
12 library/Zend/Mvc/View/Http/DefaultRenderingStrategy.php
@@ -133,13 +133,13 @@ public function render(MvcEvent $e)
} catch(\Exception $ex) {
if ($e->getName() === MvcEvent::EVENT_RENDER_ERROR) {
throw $ex;
- } else {
- $application = $e->getApplication();
- $events = $application->getEventManager();
- $e->setError(Application::ERROR_EXCEPTION)
- ->setParam('exception', $ex);
- $events->trigger(MvcEvent::EVENT_RENDER_ERROR, $e);
}
+
+ $application = $e->getApplication();
+ $events = $application->getEventManager();
+ $e->setError(Application::ERROR_EXCEPTION)
+ ->setParam('exception', $ex);
+ $events->trigger(MvcEvent::EVENT_RENDER_ERROR, $e);
}
return $response;
Please sign in to comment.
Something went wrong with that request. Please try again.