From 4ac00af6221e147b476f6b107be36c1b1ea29bba Mon Sep 17 00:00:00 2001 From: RundelhausCode Date: Tue, 6 Apr 2021 10:58:22 +0200 Subject: [PATCH] error code update --- Backend/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Backend/setup.php b/Backend/setup.php index 289514a..46ff1f5 100644 --- a/Backend/setup.php +++ b/Backend/setup.php @@ -91,7 +91,7 @@ if(isset($_POST["dbSetup"])){ } catch (\Exception $e) { http_response_code(400); file_put_contents($conFilePath, NULL); - echo json_encode(["message" => "Could not connect to the database. Please check your configuration. error:" . $e]); + echo json_encode(["message" => "Could not connect to the database. Please check your configuration. error:"]); exit(); } require_once ('Database/databaseMigration.php');