update applications/extensions/init_sqlalchemy.py.

Signed-off-by: 不胜舟 <1650473152@qq.com>
This commit is contained in:
不胜舟
2023-04-26 14:07:50 +00:00
committed by Gitee
parent 361e3c1bba
commit a340533ff9
+1 -1
View File
@@ -97,4 +97,4 @@ def init_databases(app: Flask):
try: try:
db.engine.connect() db.engine.connect()
except Exception as e: except Exception as e:
exit(f"数据库成功失败: {e}") exit(f"数据库连接失败: {e}")