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

Fix log line that was printing undefined value #6278

Merged
merged 5 commits into from
Oct 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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