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

pull/7483/head
ibuler 3 years ago committed by Jiangjie.Bai
parent 4405abbedf
commit 25a2290804

2
jms

@ -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)

Loading…
Cancel
Save