Skip to content
Browse files

Merge branch 'hotfix/3215' into develop

Close #3215
  • Loading branch information...
2 parents 0c0703d + abd9c1e commit 607d2687b442e8659abcb31a1cb362125976a6fc @weierophinney weierophinney committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/Zend/Test/PHPUnit/Controller/AbstractControllerTestCase.php
View
2 library/Zend/Test/PHPUnit/Controller/AbstractControllerTestCase.php
@@ -246,7 +246,7 @@ public function dispatch($url, $method = HttpRequest::METHOD_GET, $params = arra
}
$exception = $this->getApplication()->getMvcEvent()->getParam('exception');
- if ($exception) {
+ if ($exception instanceof \Exception) {
throw $exception;
}
}

0 comments on commit 607d268

Please sign in to comment.
Something went wrong with that request. Please try again.