diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-03-16 15:44:23 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-03-16 15:44:23 +0000 |
commit | 99f8f078de744b995918e94781252ec2e11e5237 (patch) | |
tree | 766300604daa8a506dc8622dfdaf107fcafc579a /synapse/handlers/message.py | |
parent | fix delete_existing for _persist_events (#6300) (diff) | |
parent | Remove usage of deprecated logger.warn method from codebase (#6271) (diff) | |
download | synapse-99f8f078de744b995918e94781252ec2e11e5237.tar.xz |
Remove usage of deprecated logger.warn method from codebase (#6271)
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 092fcf9809..c2eba81980 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -688,7 +688,7 @@ class EventCreationHandler(object): try: yield self.auth.check_from_context(room_version, event, context) except AuthError as err: - logger.warn("Denying new event %r because %s", event, err) + logger.warning("Denying new event %r because %s", event, err) raise err # Ensure that we can round trip before trying to persist in db |