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
  • Loading branch information
anoadragon453 authored Oct 30, 2019
1 parent 2cab02f commit a2276d4
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 a2276d4

Please sign in to comment.