Warn some noisy errors (#4158)
This commit is contained in:
committed by
GitHub
parent
4ac82ec25b
commit
d0a9095b0d
@@ -21,7 +21,7 @@ def get_pylon_email_hash(email: str = Query(...)) -> PylonHash:
|
||||
secret = settings.PYLON_IDENTITY_VERIFICATION_SECRET
|
||||
|
||||
if not secret:
|
||||
LOG.error("No Pylon identity verification secret", email=email)
|
||||
LOG.warning("No Pylon identity verification secret", email=email)
|
||||
return PylonHash(hash=no_hash)
|
||||
|
||||
try:
|
||||
|
||||
@@ -275,6 +275,9 @@ class MessageChannel:
|
||||
except RuntimeError as ex:
|
||||
if "not connected" in str(ex).lower():
|
||||
break
|
||||
except WebSocketDisconnect:
|
||||
LOG.warning(f"{self.class_name} Disconnected while receiving message from channel", **self.identity)
|
||||
break
|
||||
except Exception:
|
||||
LOG.exception(f"{self.class_name} Failed to receive message from message channel", **self.identity)
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user