-
Notifications
You must be signed in to change notification settings - Fork 1
feat(dapp): add sentry support #808
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
base: develop
Are you sure you want to change the base?
Conversation
brancoder
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
conflict 🙏
marc2332
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use https://tkdodo.eu/blog/react-query-error-handling#the-global-callbacks rather than adding the captureExeception call to every query?
|
|
||
| export const IS_PROD = process.env.NEXT_PUBLIC_BUILD_ENV === 'production'; | ||
|
|
||
| export const SENTRY_DSN = IS_PROD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we store it like env variable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did it this way because this is how dashboard handles it
https://github.com/iotaledger/iota/blob/develop/apps/wallet-dashboard/sentry.common.config.mjs#L6-L10
|
This pull request has been deployed to Vercel.
|
Fixes #779