From 88e9f3973ed5f9676ef16c69c14702a37e209557 Mon Sep 17 00:00:00 2001 From: Mgeeeek Date: Wed, 6 May 2026 01:56:32 +0530 Subject: [PATCH] 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. --- mem0/client/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mem0/client/main.py b/mem0/client/main.py index 69ff77bd8..23187a21c 100644 --- a/mem0/client/main.py +++ b/mem0/client/main.py @@ -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: