Browse Source

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

pull/7483/head
ibuler 3 years ago committed by Jiangjie.Bai
parent
commit
25a2290804
  1. 2
      jms

2
jms

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

Loading…
Cancel
Save