From cb11f8475972f5688e938dd4036be283b776c266 Mon Sep 17 00:00:00 2001 From: Brady James Garvin <bgarvin@cse.unl.edu> Date: Mon, 8 Apr 2019 10:40:50 -0500 Subject: [PATCH] Fixed misleading error message for database connection failures. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index df99972..5029a81 100644 --- a/main.py +++ b/main.py @@ -39,7 +39,7 @@ def main(): app = MoviesApp() app.run() except SQLAlchemyError as exception: - print('Initial database connection failed!', file=stderr) + print('Database connection failed!', file=stderr) print(f'Cause: {exception}', file=stderr) exit(1) -- GitLab