mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-03 00:10:47 -05:00
Merge pull request #2180 from matrix-org/rav/fix_timeout_on_timeout
Instantiate DeferredTimedOutError correctly
This commit is contained in:
commit
82475a18d9
@ -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 New Issue
Block a user