This commit is contained in:
Erik Johnston 2015-05-08 16:32:56 +01:00
parent 476899295f
commit 4ac1941592
2 changed files with 2 additions and 4 deletions

View File

@ -17,7 +17,6 @@ from twisted.internet import defer
from synapse.api.errors import SynapseError, AuthError, CodeMessageException
from synapse.api.constants import EventTypes, Membership
from synapse.util.logcontext import PreserveLoggingContext
from synapse.types import UserID
from ._base import BaseHandler

View File

@ -16,7 +16,6 @@
from twisted.internet import defer
from synapse.util.logutils import log_function
from synapse.util.logcontext import preserve_context_over_deferred
from synapse.types import StreamToken
import synapse.metrics
@ -224,8 +223,8 @@ class Notifier(object):
logger.exception("Failed to notify listener", failure)
yield defer.DeferredList(
[notify(l).addErrback(eb) for l in listeners],
consumeErrors=True,
[notify(l).addErrback(eb) for l in listeners],
consumeErrors=True,
)
@defer.inlineCallbacks