include ERROR delimiter directly for console_error() messsages

Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
This commit is contained in:
Karl W Schulz
2024-03-07 10:58:12 -06:00
committed by Karl W. Schulz
parent cc7a725ae8
commit 61267ee262
+2 -2
View File
@@ -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)