diff --git a/Packs/Base/Scripts/CommonServerPython/CommonServerPython.py b/Packs/Base/Scripts/CommonServerPython/CommonServerPython.py index 3a671962e5b..1188176c9a1 100644 --- a/Packs/Base/Scripts/CommonServerPython/CommonServerPython.py +++ b/Packs/Base/Scripts/CommonServerPython/CommonServerPython.py @@ -12386,7 +12386,7 @@ def function_runner(func, profiler, signal_event, results = {} profiler = cProfile.Profile() signal_event = threading.Event() - profiler_thread = threading.Thread(target=function_runner, args=(func, profiler, signal_event, results, args), + profiler_thread = threading.Thread(target=function_runner, args=(func, profiler, signal_event, results) + args, kwargs=kwargs) profiler_thread.start()