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:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user