mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-25 14:32:05 +00:00
fix: 修复任务被黑名单拦截后没有更新状态的问题
This commit is contained in:
parent
d87ece00bd
commit
d10db0aa62
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user