0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-10-01 22:18:59 +02:00

Fix log line that was printing undefined value (#6278)

This commit is contained in:
Andrew Morgan 2019-10-30 11:28:48 +00:00 committed by GitHub
parent 2cab02f9d1
commit a2276d4d3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/6278.bugfix Normal file
View file

@ -0,0 +1 @@
Fix exception when remote servers attempt to join a room that they're not allowed to join.

View file

@ -1250,7 +1250,7 @@ class FederationHandler(BaseHandler):
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(