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

Commit f690571

Browse files
committed
Fix logging error when a tampered event is detected. (#5500)
2 parents 22796d6 + 2f8491d commit f690571

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

changelog.d/5500.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix logging error when a tampered event is detected.

synapse/federation/federation_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ def callback(_, pdu):
163163
logger.warning(
164164
"Event %s content has been tampered, redacting",
165165
pdu.event_id,
166-
pdu.get_pdu_json(),
167166
)
168167
return redacted_event
169168

0 commit comments

Comments
 (0)