Merge pull request #2180 from matrix-org/rav/fix_timeout_on_timeout

Instantiate DeferredTimedOutError correctly
pull/2183/head
Richard van der Hoff 2017-05-02 13:32:58 +01:00 committed by GitHub
commit 82475a18d9
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ logger = logging.getLogger(__name__)
class DeferredTimedOutError(SynapseError):
def __init__(self):
super(SynapseError, self).__init__(504, "Timed out")
super(DeferredTimedOutError, self).__init__(504, "Timed out")
def unwrapFirstError(failure):