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

Commit

Permalink
Fix log line that was printing undefined value (#6278)
Browse files Browse the repository at this point in the history
* commit 'a2276d4d3':
  • Loading branch information
anoadragon453 committed Mar 16, 2020
2 parents 4f2e76e + a2276d4 commit cb16924
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/6278.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix exception when remote servers attempt to join a room that they're not allowed to join.
2 changes: 1 addition & 1 deletion synapse/handlers/federation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ def on_make_join_request(self, origin, room_id, user_id):
builder=builder
)
except AuthError as e:
logger.warn("Failed to create join %r because %s", event, e)
logger.warn("Failed to create join to %s because %s", room_id, e)
raise e

event_allowed = yield self.third_party_event_rules.check_event_allowed(
Expand Down

0 comments on commit cb16924

Please sign in to comment.