From: Brian Warner Date: Sun, 21 Jan 2007 23:01:09 +0000 (-0700) Subject: queen.sendOnly: ignore DeadReferenceError too X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~334 X-Git-Url: https://git.rkrishnan.org/components/%22news.html/frontends/nxhtml.html?a=commitdiff_plain;h=5453e0f02259deb2b2a0ea1118deeb55d4edac9e;p=tahoe-lafs%2Ftahoe-lafs.git queen.sendOnly: ignore DeadReferenceError too --- diff --git a/src/allmydata/queen.py b/src/allmydata/queen.py index c49f384f..aff8ee76 100644 --- a/src/allmydata/queen.py +++ b/src/allmydata/queen.py @@ -1,6 +1,6 @@ import os.path -from foolscap import Referenceable +from foolscap import Referenceable, DeadReferenceError from foolscap.eventual import eventually from twisted.application import service from twisted.python import log @@ -15,7 +15,7 @@ from allmydata.filetable import GlobalVirtualDrive def sendOnly(call, methname, *args, **kwargs): d = call(methname, *args, **kwargs) def _trap(f): - f.trap(ConnectionLost, ConnectionDone) + f.trap(DeadReferenceError, ConnectionLost, ConnectionDone) d.addErrback(_trap) class Roster(service.MultiService, Referenceable):