diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-03-16 15:36:35 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-03-16 15:36:35 +0000 |
commit | cb1692474a16a634c4fcf12797f59092bb06b423 (patch) | |
tree | e6f4b5b101510ba801af2e4f5934cc63c0f8b57a | |
parent | Update CI to run isort on scripts and scripts-dev (#6270) (diff) | |
parent | Fix log line that was printing undefined value (#6278) (diff) | |
download | synapse-cb1692474a16a634c4fcf12797f59092bb06b423.tar.xz |
Fix log line that was printing undefined value (#6278)
* commit 'a2276d4d3':
-rw-r--r-- | changelog.d/6278.bugfix | 1 | ||||
-rw-r--r-- | synapse/handlers/federation.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/6278.bugfix b/changelog.d/6278.bugfix new file mode 100644 index 0000000000..c107270461 --- /dev/null +++ b/changelog.d/6278.bugfix @@ -0,0 +1 @@ +Fix exception when remote servers attempt to join a room that they're not allowed to join. diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 17fec1348e..2765dfee5a 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -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( |