From 1b9cd6a95e32037c95993a68ea937667e5a077bc Mon Sep 17 00:00:00 2001 From: Yu Ming Zhu Date: Sep 01 2020 09:23:04 +0000 Subject: hub: [multicall] cast args of exception to str fixes: #2381 --- diff --git a/hub/kojixmlrpc.py b/hub/kojixmlrpc.py index f9d80cd..8359051 100644 --- a/hub/kojixmlrpc.py +++ b/hub/kojixmlrpc.py @@ -341,7 +341,7 @@ class ModXMLRPCRequestHandler(object): # a circular reference. exc_type, exc_value = sys.exc_info()[:2] faultCode = getattr(exc_type, 'faultCode', 1) - faultString = ', '.join(exc_value.args) + faultString = ', '.join([str(arg) for arg in exc_value.args]) trace = traceback.format_exception(*sys.exc_info()) # traceback is not part of the multicall spec, # but we include it for debugging purposes