Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set user id in Sentry #769

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Set user id in Sentry #769

wants to merge 2 commits into from

Conversation

nkuba
Copy link
Member

@nkuba nkuba commented Oct 16, 2024

Depends on: #768

To improve user events debugging in Sentry, we set the user ID to the user's bitcoin address.

To be able to track user events in Sentry, we need to set the user id in the scope.
When the wallet is connected, the user address is set in the Sentry context.
When the wallet is disconnected, the user address is cleared from the Sentry context.
Base automatically changed from sentry-source-maps to main October 22, 2024 06:07
@nkuba nkuba marked this pull request as ready for review October 22, 2024 13:54
Copy link
Contributor

@kkosiorowska kkosiorowska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please resolve conflicts and we are ready to merge.

@nkuba nkuba added the 🎨 dapp dApp label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants