[CalendarServer-changes] [8484] CalendarServer/trunk/twistedcaldav/notify.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jan 4 11:17:26 PST 2012
Revision: 8484
http://trac.macosforge.org/projects/calendarserver/changeset/8484
Author: sagen at apple.com
Date: 2012-01-04 11:17:24 -0800 (Wed, 04 Jan 2012)
Log Message:
-----------
Handle dropped connection during configuration form request
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/notify.py
Modified: CalendarServer/trunk/twistedcaldav/notify.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/notify.py 2012-01-04 02:05:10 UTC (rev 8483)
+++ CalendarServer/trunk/twistedcaldav/notify.py 2012-01-04 19:17:24 UTC (rev 8484)
@@ -892,6 +892,9 @@
(iq.toXml().encode('ascii', 'replace')),)
self.sendError("Failed to receive configuration form (%s)" %
(nodeName,), iq)
+ except AttributeError:
+ # We did not get an XML response; most likely it was a disconnection
+ pass
finally:
self.unlockNode(None, nodeName)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120104/ef76d7ef/attachment.html>
More information about the calendarserver-changes
mailing list