getting full exception information from an xmlrpc server

Fredrik Lundh fredrik at pythonware.com
Wed Aug 13 15:48:26 EDT 2008


Scott wrote:

> I'm debugging an xmlrpc client/server application. Often when an
> exception occurs in the server, I receive only a very short error
> message on the client. For example:
> 
>     xmlrpclib.Fault: <Fault 1: "<type 'exceptions.AssertionError'>:">
> 
> Presumably this is because xmlrpclib on the server is catching the
> exception, and only sending the exception name to the client, not the
> server's stack trace.

xmlrpclib is a client library.  The faultString message you see here is 
provided by the server.

</F>




More information about the Python-list mailing list