fix: 修复任务被黑名单拦截后没有更新状态的问题

This commit is contained in:
Aaron3S 2023-06-14 20:38:18 +08:00 committed by Jiangjie.Bai
parent d87ece00bd
commit d10db0aa62

View File

@ -452,6 +452,7 @@ class JobExecution(JMSOrgBaseModel):
return cb
except CommandInBlackListException as e:
print(e)
self.set_error(e)
except Exception as e:
logging.error(e, exc_info=True)
self.set_error(e)