aboutsummaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-16 22:41:03 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-16 22:41:03 +0100
commit4a2b17d54ab3714c4f567a43a7a2e701cd9a7b49 (patch)
treed3fa2b91aaa334a8e16f0aaa33aa144f282219c6 /public/index.php
parente13c6439d5ed02d1fe19ece070445f5f58b63e44 (diff)
Minz : nouveau Minz_Log::DEBUG
Nouveau niveau Minz_Log::DEBUG pour plus de finesse dans les messages
Diffstat (limited to 'public/index.php')
-rwxr-xr-xpublic/index.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/public/index.php b/public/index.php
index dc6da259d..1a1651707 100755
--- a/public/index.php
+++ b/public/index.php
@@ -54,8 +54,9 @@ if (file_exists (PUBLIC_PATH . '/install.php')) {
$front_controller = new App_FrontController ();
$front_controller->init ();
$front_controller->run ();
- } catch (PDOConnectionException $e) {
+ } catch (Exception $e) {
+ echo '### Fatal error! ###<br />', "\n";
Minz_Log::record ($e->getMessage (), Minz_Log::ERROR);
- print '### Application problem ###<br />'."\n".'See logs files';
+ echo 'See logs files.';
}
}