mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-08 00:15:10 -04:00
Don't log exceptions when failing to fetch server keys
Not being able to resolve or connect to remote servers is an expected error, so we shouldn't log at ERROR with stacktraces.
This commit is contained in:
parent
324525f40c
commit
808d8e06aa
2 changed files with 8 additions and 4 deletions
|
@ -261,10 +261,10 @@ class BaseFederationServlet(object):
|
|||
except NoAuthenticationError:
|
||||
origin = None
|
||||
if self.REQUIRE_AUTH:
|
||||
logger.exception("authenticate_request failed")
|
||||
logger.warn("authenticate_request failed")
|
||||
raise
|
||||
except Exception:
|
||||
logger.exception("authenticate_request failed")
|
||||
logger.warn("authenticate_request failed")
|
||||
raise
|
||||
|
||||
if origin:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue