[Fixed] Support list of errors (not just tuple)

This commit is contained in:
Salvador E. Tropea 2024-01-05 08:17:04 -03:00
parent 9b87aabd9b
commit 568510ecd7
1 changed files with 1 additions and 1 deletions

View File

@ -781,7 +781,7 @@ class GS(object):
@staticmethod
def exit_with_error(msg, level):
GS.trace_dump()
if isinstance(msg, tuple):
if isinstance(msg, (tuple, list)):
for m in msg:
logger.error(m)
else: