From 116c70e164906eab8b705e37e18791ca42777ab6 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Wed, 12 Apr 2017 07:43:54 +0200 Subject: Catch block for PDOException was modified. --- core/application.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/application.php b/core/application.php index 15266d8..fcc1678 100644 --- a/core/application.php +++ b/core/application.php @@ -82,8 +82,7 @@ try { # CATCH: PDOException #=============================================================================== catch(PDOException $Exception) { - http_response_code(503); - exit("PDO database connection error: {$Exception->getMessage()}"); + Application::exit($Exception->getMessage()); } #=============================================================================== -- cgit v1.2.3