I'm having trouble figuring out why this is breaking.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11293>
import os
import sys
import time
+import traceback
import urllib.parse
import xmlrpc
import yaml
return fn(*args)
except xmlrpc.client.ProtocolError as err:
if n == retries:
+ traceback.print_exc()
sys.exit(log_msg("A protocol error occurred (Err {} {})".format(err.errcode, err.errmsg)))
else:
time.sleep(15)
pass
except xmlrpc.client.Fault as err:
+ traceback.print_exc()
sys.exit(log_msg("FATAL: Fault: {} (code: {})".format(err.faultString, err.faultCode)))