#26 Cannot catch xmlrpc exceptions (+patch).

closed-fixed
nobody
None
5
2002-03-19
2001-10-16
Anonymous
No

Hello,

It is not possible to catch xmlrpc exceptions.

I would have expected I could write something like this:

try:
client.execute(name, args)
except xmlrpc.error, msg
# handle the exception...

This is not possible.

The following line needs to be added to xmlrpc.py to
support it.

error = _xmlrpc.error

Discussion

  • Jean-Charles BERTIN

    Logged In: YES
    user_id=123278

    See patch #503162

     
  • Shilad Sen

    Shilad Sen - 2002-03-19
    • status: open --> closed-fixed
     

Log in to post a comment.