Remove additional info from ActivityListExecute - no secret info in logs..

dev-linux
Ivan Maslov 4 years ago
parent f4a147d829
commit 94b861041a

@ -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
Loading…
Cancel
Save