perf: 优化报错内容

This commit is contained in:
Aaron3S
2023-06-14 20:04:20 +08:00
committed by Jiangjie.Bai
parent 9e31a5064b
commit 2c2334b618
2 changed files with 3 additions and 2 deletions

View File

@@ -451,7 +451,7 @@ class JobExecution(JMSOrgBaseModel):
self.set_result(cb)
return cb
except CommandInBlackListException as e:
print("command is rejected by black list: {}".format(e))
print(e)
except Exception as e:
logging.error(e, exc_info=True)
self.set_error(e)