You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log.LogError("{0} Error invoking the GX procedure for Message Id {1}.",FunctionExceptionType.SysRuntimeError,queueMessage.Id);
200
+
log.LogError("{0} Error invoking the GX procedure for Message Id {1}.",FunctionExceptionType.SysRuntimeError,StringUtil.Sanitize(queueMessage.Id,StringUtil.LogUserEntryWhiteList));
201
201
throw;//Throw the exception so the runtime can Retry the operation.
202
202
}
203
203
}
204
204
}
205
205
else
206
206
{
207
-
exMessage=string.Format("{0} GeneXus procedure could not be executed for Message Id {1}.",FunctionExceptionType.SysRuntimeError,queueMessage.Id);
207
+
exMessage=string.Format("{0} GeneXus procedure could not be executed for Message Id {1}.",FunctionExceptionType.SysRuntimeError,StringUtil.Sanitize(queueMessage.Id,StringUtil.LogUserEntryWhiteList));
208
208
thrownewException(exMessage);
209
209
}
210
210
}
211
211
catch(Exception)
212
212
{
213
-
log.LogError("{0} Error processing Message Id {1}.",FunctionExceptionType.SysRuntimeError,queueMessage.Id);
213
+
log.LogError("{0} Error processing Message Id {1}.",FunctionExceptionType.SysRuntimeError,StringUtil.Sanitize(queueMessage.Id,StringUtil.LogUserEntryWhiteList));
214
214
throw;//Throw the exception so the runtime can Retry the operation.
log.LogInformation($"GeneXus Service Bus trigger handler. Function processed: {functionName}. Queue item Id: {message.MessageId}");
34
+
log.LogInformation($"GeneXus Service Bus trigger handler. Function processed: {functionName}. Queue item Id: {StringUtil.Sanitize(message.MessageId,StringUtil.LogUserEntryWhiteList)}");
exMessage=string.Format("{0} Error invoking the GX procedure for Message Id {1}.",FunctionExceptionType.SysRuntimeError,message.MessageId);
239
+
exMessage=string.Format("{0} Error invoking the GX procedure for Message Id {1}.",FunctionExceptionType.SysRuntimeError,StringUtil.Sanitize(message.MessageId,StringUtil.LogUserEntryWhiteList));
240
240
log.LogError(exMessage);
241
241
throw;//Throw the exception so the runtime can Retry the operation.
0 commit comments