forked from p15670423/monkey
Agent: Improve log message for failed propagation
This commit is contained in:
parent
da61451947
commit
6c1caa1af4
|
@ -139,7 +139,9 @@ class Propagator:
|
|||
if result.success:
|
||||
logger.info("Successfully propagated to {host} using {exploiter_name}")
|
||||
else:
|
||||
logger.info(result.error_message)
|
||||
logger.info(
|
||||
f"Failed to propagate to {host} using {exploiter_name}: {result.error_message}"
|
||||
)
|
||||
|
||||
self._telemetry_messenger.send_telemetry(
|
||||
ExploitTelem(exploiter_name, host, result.success, result.info, result.attempts)
|
||||
|
|
Loading…
Reference in New Issue