diff --git a/chandler/Database/DatabaseConnection.php b/chandler/Database/DatabaseConnection.php index d4d2bcc..5aee7e2 100644 --- a/chandler/Database/DatabaseConnection.php +++ b/chandler/Database/DatabaseConnection.php @@ -19,7 +19,7 @@ class DatabaseConnection if($ex->getCode() === "42000") chandler_db_busy(); else - chandler_http_panic(503, "Service Temporarily Unavailable", "Error estabilishing database connection."); + chandler_http_panic(503, "Service Temporarily Unavailable", "Error estabilishing database connection: " . $ex->getMessage()); } $storage = new FileStorage($tmpFolder ?? (CHANDLER_ROOT . "/tmp/cache/database"));