mirror of
https://mau.dev/maunium/synapse.git
synced 2024-07-19 17:42:17 +00: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