diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index 622c17d7d..b1bb61e4f 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -477,7 +477,8 @@ class InfectionMonkey(object): try: RansomewarePayload( - WormConfiguration.ransomware, batching_telemetry_messenger + config=WormConfiguration.ransomware, + telemetry_messenger=batching_telemetry_messenger, ).run_payload() except Exception as ex: LOG.error(f"An unexpected error occurred while running the ransomware payload: {ex}")