How to catch the CannotSendRequest?

View: New views
1 Messages — Rating Filter:   Alert me  

How to catch the CannotSendRequest?

by Fet Biz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have an application which utilize pyamf.remoting to
communicate between the server and client.

In the client side, sometimes, the httplib.CannotSendRequest
was thrown when calling the service methods.
(Mostly the server is too busy to handle the request).
My problem is that even I do this:
try:
    maybe_failed_method()
except httplib.CannotSendRequest:
    pass
the exception still can not be caught.
How can I handle about this?

Thanks in advance.
_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users