perf: 优化迁移数据库错误提示

pull/7483/head
ibuler 2022-01-10 16:52:44 +08:00 committed by Jiangjie.Bai
parent 4405abbedf
commit 25a2290804
1 changed files with 1 additions and 1 deletions

2
jms
View File

@ -83,7 +83,7 @@ def perform_db_migrate():
try:
management.call_command('migrate')
except Exception:
logging.error('Perform migrate failed, exit')
logging.error('Perform migrate failed, exit', exc_info=True)
sys.exit(11)