From 94b861041a4e141d9e2f0d39034d09b9ea17347f Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Fri, 18 Dec 2020 16:23:24 +0300 Subject: [PATCH] Remove additional info from ActivityListExecute - no secret info in logs.. --- Sources/pyOpenRPA/Orchestrator/Processor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/pyOpenRPA/Orchestrator/Processor.py b/Sources/pyOpenRPA/Orchestrator/Processor.py index d50420ed..43baaecc 100644 --- a/Sources/pyOpenRPA/Orchestrator/Processor.py +++ b/Sources/pyOpenRPA/Orchestrator/Processor.py @@ -62,8 +62,8 @@ def ActivityListExecute(inGSettings, inActivityList): lActivityItemResult = lDef(*lActivityItem["ArgList"], **lActivityItem["ArgDict"]) lResultList.append(lActivityItemResult) # return the result except Exception as e: - if lL: lL.exception(f"Processor.ActivityListExecute: Exception in def execution - activity will be ignored. Activity item: {lActivityItem}") # Logging + if lL: lL.exception(f"Processor.ActivityListExecute: Exception in def execution - activity will be ignored.") # Logging lResultList.append(e) # return the generated exception except Exception as e: - if lL: lL.exception(f"Processor.ActivityListExecute: Exception when initialisation - All activity list will be ignored. Activity list: {inActivityList}") # Logging + if lL: lL.exception(f"Processor.ActivityListExecute: Exception when initialisation - All activity list will be ignored.") # Logging return lResultList # return the result list \ No newline at end of file