Skip to content

Commit

Permalink
Merge branch 'Achse-patch-1' into 3.x
Browse files Browse the repository at this point in the history
Closes #2082
  • Loading branch information
akrabat committed Dec 20, 2016
2 parents 8970fa7 + 3bc1348 commit f68d03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Slim/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ protected function handleException(Exception $e, ServerRequestInterface $request
$params = [$e->getRequest(), $e->getResponse(), $e->getAllowedMethods()];
} elseif ($e instanceof NotFoundException) {
$handler = 'notFoundHandler';
$params = [$e->getRequest(), $e->getResponse()];
$params = [$e->getRequest(), $e->getResponse(), $e];
} elseif ($e instanceof SlimException) {
// This is a Stop exception and contains the response
return $e->getResponse();
Expand Down

0 comments on commit f68d03f

Please sign in to comment.