Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
add missing param to cancelled_to_request_timed_out_error
Browse files Browse the repository at this point in the history
This gets two arguments, not one.
  • Loading branch information
richvdh committed May 2, 2018
1 parent 3a42aed commit 1dfd650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/http/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self):
super(RequestTimedOutError, self).__init__(504, "Timed out")


def cancelled_to_request_timed_out_error(value):
def cancelled_to_request_timed_out_error(value, timeout):
"""Turns CancelledErrors into RequestTimedOutErrors.
For use with async.add_timeout_to_deferred
Expand Down

0 comments on commit 1dfd650

Please sign in to comment.