Commits

Anonymous committed 026f490

Improved fault detail reporting

  • Participants
  • Parent commits 1908aac

Comments (0)

Files changed (1)

File scio/client.py

                 string = string.text
             detail = fault.find('detail')
             if detail is not None:
-                detail = detail.text
+                if detail.text:
+                    detail = detail.text
+                else:
+                    detail = etree.tostring(detail)
             raise Fault(method.location, method.name, code, string, detail)
 
     @property