mirror of https://github.com/jumpserver/jumpserver
perf: 自动化任务执行错误日志在DEBUG_DEV下打印
parent
4ce2d991dd
commit
cfc91047fd
|
@ -224,6 +224,7 @@ class BasePlaybookManager:
|
|||
pass
|
||||
|
||||
def on_host_error(self, host, error, result):
|
||||
if settings.DEBUG_DEV:
|
||||
print('host error: {} -> {}'.format(host, error))
|
||||
|
||||
def on_runner_success(self, runner, cb):
|
||||
|
|
Loading…
Reference in New Issue