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

Commit

Permalink
Merge pull request #3860 from matrix-org/travis/typo-1
Browse files Browse the repository at this point in the history
Fix minor typo in exception
  • Loading branch information
turt2live authored Sep 13, 2018
2 parents 7c27c4d + 984db8b commit ad9198c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/3860.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix typo in replication stream exception.
2 changes: 1 addition & 1 deletion synapse/replication/tcp/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def get_updates_since(self, from_token):
)

if len(rows) >= MAX_EVENTS_BEHIND:
raise Exception("stream %s has fallen behined" % (self.NAME))
raise Exception("stream %s has fallen behind" % (self.NAME))
else:
rows = yield self.update_function(
from_token, current_token,
Expand Down

0 comments on commit ad9198c

Please sign in to comment.