error code update

This commit is contained in:
RundelhausCode 2021-04-06 10:58:22 +02:00
parent bcc69a88ad
commit 4ac00af622
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ if(isset($_POST["dbSetup"])){
} catch (\Exception $e) { } catch (\Exception $e) {
http_response_code(400); http_response_code(400);
file_put_contents($conFilePath, NULL); 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(); exit();
} }
require_once ('Database/databaseMigration.php'); require_once ('Database/databaseMigration.php');