ci/lava: Color red for fatal and yellow for warning
Fatal errors now have red foreground color and retry messages yellow one. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17389>
This commit is contained in:

committed by
Marge Bot

parent
daff21ef55
commit
84abb3df13
@@ -207,7 +207,10 @@ def print_log(msg):
|
||||
|
||||
|
||||
def fatal_err(msg):
|
||||
print_log(msg)
|
||||
colored_msg = f"{CONSOLE_LOG['FG_RED']}"
|
||||
f"{msg}"
|
||||
f"{CONSOLE_LOG['RESET']}"
|
||||
print_log(colored_msg)
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user