Explorar o código

HPCC-17459 Regression Test Engine generates malformed error message for forced compiler errors.

Remove code to generates malformed error message. That error message
caused exception in email notification generator and prevent to create
err logs.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
Attila Vamos %!s(int64=8) %!d(string=hai) anos
pai
achega
2d945c9029
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      testing/regress/hpcc/common/logger.py

+ 0 - 3
testing/regress/hpcc/common/logger.py

@@ -128,9 +128,6 @@ class Logger(object):
                 if record.levelname == 'DEBUG':
                     msg +=" [asctime:"+record.asctime+", process:"+str(record.process)+", processName:"+record.processName+", thread:"+str(record.thread)+", threadName:"+record.threadName+"]"
                     msg = "{0:3d}".format(taskId) + ". Debug-[debug-"+record.asctime+"]: "+msg
-                if record.levelname == 'ERROR':
-                    msg +=" [asctime:"+record.asctime+", process:"+str(record.process)+", processName:"+record.processName+", thread:"+str(record.thread)+", threadName:"+record.threadName+"]"
-                    msg = "{0:3d}".format(taskId) + ". Error-[error-"+record.asctime+"]: "+msg
                 if record.levelname == 'CRITICAL':
                     msg += " [level: "+record.levelname+" ]"
                     msg = "{0:3d}".format(taskId) +". " + msg