include ERROR delimiter directly for console_error() messsages
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
[ROCm/rocprofiler-compute commit: 61267ee262]
Este commit está contenido en:
cometido por
Karl W. Schulz
padre
a5e23e17fe
commit
89bc098c59
@@ -50,9 +50,9 @@ def demarcate(function):
|
||||
|
||||
def console_error(*argv):
|
||||
if len(argv) > 1:
|
||||
logging.error(f"[{argv[0]}] {argv[1]}")
|
||||
logging.error("ERROR: " + f"[{argv[0]}] {argv[1]}")
|
||||
else:
|
||||
logging.error(f"{argv[0]}")
|
||||
logging.error("ERROR: " + f"{argv[0]}")
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user