Skip to content
Snippets Groups Projects
Commit cb11f847 authored by Brady James Garvin's avatar Brady James Garvin
Browse files

Fixed misleading error message for database connection failures.

parent 761f2f7f
Branches master
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment