mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-01 13:24:44 +03:00
Merge pull request #2180 from matrix-org/rav/fix_timeout_on_timeout
Instantiate DeferredTimedOutError correctly
This commit is contained in:
commit
82475a18d9
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue