fix: 优化 db_port 日志显示

pull/11464/head^2
Bai 2023-08-31 11:32:30 +08:00 committed by Bryan
parent 51910ea2c1
commit 40a460870a
1 changed files with 2 additions and 1 deletions

View File

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