mirror of https://github.com/jumpserver/jumpserver
fix: 优化 db_port 日志显示
parent
51910ea2c1
commit
40a460870a
|
@ -16,7 +16,8 @@ def check_db_port_mapper(sender, **kwargs):
|
|||
try:
|
||||
db_port_manager.check()
|
||||
except Exception as e:
|
||||
logger.error(e)
|
||||
# 新部署会显示 assets_database 表不存在
|
||||
logger.warning('(Ignore) {}'.format(e))
|
||||
|
||||
|
||||
@receiver(post_save, sender=Database)
|
||||
|
|
Loading…
Reference in New Issue