[nanny/win32: 44/75] Catch exception on twisted proxy
- From: Roberto Majadas <telemaco src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nanny/win32: 44/75] Catch exception on twisted proxy
- Date: Tue, 2 Nov 2010 18:54:39 +0000 (UTC)
commit 9834a7ba040944f4729f267488c1d14214424c20
Author: Roberto Majadas <roberto majadas openshine com>
Date: Tue Sep 28 02:54:31 2010 +0200
Catch exception on twisted proxy
daemon/src/proxy/TwistedProxy.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/daemon/src/proxy/TwistedProxy.py b/daemon/src/proxy/TwistedProxy.py
index 256c32d..c0e83a0 100644
--- a/daemon/src/proxy/TwistedProxy.py
+++ b/daemon/src/proxy/TwistedProxy.py
@@ -190,7 +190,10 @@ class ProxyClient(proxy.ProxyClient) :
proxy.ProxyClient.handleResponsePart(self, data)
def handleResponseEnd(self):
- proxy.ProxyClient.handleResponseEnd(self)
+ try:
+ proxy.ProxyClient.handleResponseEnd(self)
+ except:
+ print "Twisted E> handleResponseEnd"
class ProxyClientFactory(proxy.ProxyClientFactory):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]