Fix logging error when a tampered event is detected. (#5500)

This commit is contained in:
Richard van der Hoff 2019-06-21 15:11:42 +01:00 committed by GitHub
parent 8fecb5fcbf
commit 2f8491daef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

1
changelog.d/5500.bugfix Normal file
View File

@ -0,0 +1 @@
Fix logging error when a tampered event is detected.

View File

@ -163,7 +163,6 @@ class FederationBase(object):
logger.warning( logger.warning(
"Event %s content has been tampered, redacting", "Event %s content has been tampered, redacting",
pdu.event_id, pdu.event_id,
pdu.get_pdu_json(),
) )
return redacted_event return redacted_event