mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-23 16:39:30 +00:00
perf: 优化迁移数据库错误提示
This commit is contained in:
parent
4405abbedf
commit
25a2290804
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…
Reference in New Issue
Block a user