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

fix: Improve logs for sentry error #2185

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

chrstph-dvx
Copy link
Contributor

Summary

Steps to test

Copy link

vercel bot commented Jan 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
arbitrum-token-bridge ✅ Ready (Inspect) Visit Preview Jan 22, 2025 0:57am

@cla-bot cla-bot bot added the cla-signed label Jan 13, 2025
Comment on lines 67 to 71
Sentry.getCurrentScope().setFingerprint([
'{{ default }}',
code.toString(),
message
])
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Current issue have multiple unrelated events, this should help split the future events properly

Comment on lines +21 to +24
const query = new URLSearchParams(window.location.search)
for (const [key, value] of query.entries()) {
scope.setTag(key, value)
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adding query string to tags will help filtering events and issues

Copy link
Member

@fionnachan fionnachan left a comment

Choose a reason for hiding this comment

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

code lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants