How to catch the CannotSendRequest?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to catch the CannotSendRequest?

Fet Biz
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 - [hidden email]
http://lists.pyamf.org/mailman/listinfo/users