web3.storage
web3.storage copied to clipboard
@web3-storage/website uncaught ui errors should be sent to sentry
Motivation:
- Good idea from @drewdelano https://github.com/web3-storage/web3.storage/pull/2058#discussion_r1000797714
- Will help us keep the website bug-free and have a good customer experience, especially in hard to test/anticipate conditions - otherwise we're flying blind
Considerations:
- we may want to use a different sentry account than we use for the api so we can have separate error budgets. i.e. we dont want to miss api errors because there are zillions of website errors. We can prevent this by using separate accounts.
Might be able to use https://docs.sentry.io/platforms/javascript/guides/react/