fix(telemetry): drop email from alias-failure debug log

LOG_LEVEL=DEBUG was writing the user's plaintext email to stderr/log
handlers, contradicting the PR's no-plaintext-email-on-disk stance.
The exception object alone is enough debug signal.
This commit is contained in:
Mgeeeek
2026-05-06 01:56:32 +05:30
parent 4176293cc9
commit 88e9f3973e
+1 -1
View File
@@ -56,7 +56,7 @@ def _maybe_alias_anon_to_email(user_email):
if client_telemetry.capture_identify(anon_id, user_email):
mark_aliased(anon_id, user_email)
except Exception as e:
logger.debug("Failed to alias anon telemetry to %r: %s", user_email, e)
logger.debug("Failed to alias anon telemetry: %s", e)
class MemoryClient: