diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/application.php | 3 |
1 files changed, 1 insertions, 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()); } #=============================================================================== |