[Fixed] Support list of errors (not just tuple)
This commit is contained in:
parent
9b87aabd9b
commit
568510ecd7
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue