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

Downgrade crypto exception to a warning #5265

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/5265.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Downgrade no key crypto exception from an error to a warning. Contributed by Reid Anderson.
2 changes: 1 addition & 1 deletion synapse/crypto/keyring.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ def _handle_key_deferred(verify_request):
502, "Error downloading keys for %s" % (server_name,), Codes.UNAUTHORIZED
)
except Exception as e:
logger.exception(
logger.warn(
"Got Exception when downloading keys for %s: %s %s",
server_name,
type(e).__name__,
Expand Down