getting full exception information from an xmlrpc server
Scott
smbaker at gmail.com
Wed Aug 13 15:31:42 EDT 2008
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.
What I would like is the full stack trace of what went wrong on the
server (i.e. the junk python usually dumps to the console when an
exception occurs). I don't care which side I see the dump on (client
or server), but I need to see the whole trace so I can figure out what
the problem is. Is there an easy way to do this?
Thanks,
Scott
More information about the Python-list
mailing list