Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fedecarg committed Oct 4, 2011
1 parent f8c2fc3 commit e99d977
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/ErrorController.php
Expand Up @@ -12,6 +12,7 @@ public function errorAction($request)
$response = $request->getResponse();
$viewScript = DEBUG ? 'development' : 'production';

// get the Exception from the Response
$exception = $response->getException();
switch ($exception->getCode()) {
case Response::NOT_FOUND:
Expand Down

0 comments on commit e99d977

Please sign in to comment.