From e99474db79ffc49cab90d2d43492b207b85551ed Mon Sep 17 00:00:00 2001 From: Brady James Garvin <bgarvin@cse.unl.edu> Date: Wed, 3 Apr 2019 15:28:46 -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 0548d87..1957612 100644 --- a/main.py +++ b/main.py @@ -28,7 +28,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