mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-03 15:33:32 +00:00
perf: 自动化任务执行错误日志在DEBUG_DEV下打印
This commit is contained in:
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
Block a user