I've created a test server and client in python, and with the "fail
fast" philosophy I'm trying to get exception handling working before
everything else. Things seem to work fine in terms of starting the
server, connecting with the client and calling the remote procedures,
but the exception messages are being seen by the client as a None
object.

I'm raising exceptions as usual, and catching both the explicit type
and with the following taken from the tutorial:

except Thrift.TException, tx:
  print 'Error: %s' % (tx.message)

Any ideas?

-- 
Phillip B Oldham
[email protected]
+44 (0) 7525 01 09 01

Reply via email to