Skip to content
Snippets Groups Projects
Commit b9055c36 authored by Florian Burgener's avatar Florian Burgener
Browse files

Add error message

parent 74be28db
Branches
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ class DB extends PDO
self::$instance->exec('SET time_zone="+00:00"');
} catch (\PDOException $e) {
echo "An error has occurred with the database.\n";
abort(500);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment