mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-02 07:03:40 +00:00
perf: 自动化任务执行错误日志在DEBUG_DEV下打印
This commit is contained in:
parent
4ce2d991dd
commit
cfc91047fd
@ -224,7 +224,8 @@ class BasePlaybookManager:
|
||||
pass
|
||||
|
||||
def on_host_error(self, host, error, result):
|
||||
print('host error: {} -> {}'.format(host, error))
|
||||
if settings.DEBUG_DEV:
|
||||
print('host error: {} -> {}'.format(host, error))
|
||||
|
||||
def on_runner_success(self, runner, cb):
|
||||
summary = cb.summary
|
||||
|
Loading…
Reference in New Issue
Block a user