lcError = [Error: ] + transform(m.toError.errorno) + CRLF + ; [LineNo: ] + transform(m.toError.lineno) + CRLF + ; [Message: ] + m.toError.message + CRLF + ; [Procedure: ] + m.toError.procedure + CRLF + ; [Details: ] + m.toError.details + CRLF + ; [StackLevel: ] + transform(m.toError.stacklevel) + CRLF + ; [LineContents: ] + m.toError.linecontentsIt seems like in run-time the LineContents can either be blank or be absolutely unrelated line of code such as ri_handler("delete").
Error: 12 LineNo: 3102 Message: Variable 'TCSTATUS_CODE' is not found. Procedure: update_codes Details: TCSTATUS_CODE StackLevel: 9 LineContents: __ri_handler("INSERT")In few rare cases it does provide the content correctly. What should I do?