Commit cb11f847 authored by Brady James Garvin's avatar Brady James Garvin
Browse files

Fixed misleading error message for database connection failures.

parent 761f2f7f
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment