forked from p34709852/monkey
Agent: Fix self._island_api_client.send_log() call in ControlClient
This commit is contained in:
parent
74e30a2f88
commit
539f4e1c82
|
@ -71,7 +71,7 @@ class ControlClient:
|
||||||
def send_log(self, log):
|
def send_log(self, log):
|
||||||
try:
|
try:
|
||||||
telemetry = {"monkey_guid": GUID, "log": json.dumps(log)}
|
telemetry = {"monkey_guid": GUID, "log": json.dumps(log)}
|
||||||
self._island_api_client.send_log(json.dumps(telemetry))
|
self._island_api_client.send_log(GUID, json.dumps(telemetry))
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
logger.warning(f"Error connecting to control server {self.server_address}: {exc}")
|
logger.warning(f"Error connecting to control server {self.server_address}: {exc}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue