diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-11-01 12:03:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-01 12:03:44 +0000 |
commit | fe1f2b452073e5939cddd23acc6f2d226673a03f (patch) | |
tree | 89d31098e1de80c34d5619a9cfb5c8c4cae5d337 /synapse/handlers/directory.py | |
parent | Document lint.sh & allow application to specified files only (#6312) (diff) | |
download | synapse-fe1f2b452073e5939cddd23acc6f2d226673a03f.tar.xz |
Remove last usages of deprecated logging.warn method (#6314)
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/directory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py index 526379c6f7..c4632f8984 100644 --- a/synapse/handlers/directory.py +++ b/synapse/handlers/directory.py @@ -250,7 +250,7 @@ class DirectoryHandler(BaseHandler): ignore_backoff=True, ) except CodeMessageException as e: - logging.warn("Error retrieving alias") + logging.warning("Error retrieving alias") if e.code == 404: result = None else: |