Agent: Fix log message in InfectionMonkey._get_server()

This commit is contained in:
Shreya Malviya 2022-09-08 13:22:13 +05:30 committed by Mike Salvatore
parent 6ee15e22b8
commit fb1554840a
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class InfectionMonkey:
servers_iterator = (s for s in self._opts.servers) servers_iterator = (s for s in self._opts.servers)
server = find_server(servers_iterator) server = find_server(servers_iterator)
if server: if server:
logger.debug(f"Default server set to: {server}") logger.info(f"Successfully connected to the island via {server}")
else: else:
# TODO: Exit here # TODO: Exit here
raise Exception( raise Exception(