Don't catch ProgrammingError when the superclass Exception has already been caught

refs #9003
This commit is contained in:
Alexander A. Klimov 2015-05-19 10:45:37 +02:00
parent 159f4eaf90
commit 7ef7325335
1 changed files with 0 additions and 6 deletions

View File

@ -171,9 +171,6 @@ class DashboardController extends ActionController
$action->view->config = $dashboardConfig;
$action->render('error');
return false;
} catch (ProgrammingError $e) {
Notification::error($e->getMessage());
return false;
}
return false;
});
@ -211,9 +208,6 @@ class DashboardController extends ActionController
$action->view->config = $dashboardConfig;
$action->render('error');
return false;
} catch (ProgrammingError $e) {
Notification::error($e->getMessage());
return false;
}
return false;
});