From ef033dbdd473f4f62dac690bacd3a8d99ae55e49 Mon Sep 17 00:00:00 2001 From: Zvonimir Sabljic Date: Thu, 30 Jan 2025 13:14:34 +0100 Subject: [PATCH] Added user id --- core/cli/main.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/cli/main.py b/core/cli/main.py index 169c7ac0b7..4622731e7e 100644 --- a/core/cli/main.py +++ b/core/cli/main.py @@ -280,7 +280,13 @@ async def async_main( return success telemetry.set("user_contact", args.email) - sentry_sdk.set_user({"email": args.email or "CLI only"}) + sentry_sdk.set_user( + { + # TODO add user id + # "id": args.user_id or "CLI only", + "email": args.email or "CLI only", + } + ) sentry_sdk.set_context( "pythagora-data", {