System Design · Junior · Question 30 of 75
Why does the frontend need error monitoring (Sentry and the like)?
- ✓Correct answer: To learn about real users' errors along with stack traces
- 2To block users who run into errors
- 3To fix bugs in production automatically without a release
Explanation
Users rarely report errors. Monitoring collects exceptions, unhandled promise rejections, the browser and the actions leading up to the failure, and source maps turn a minified stack into a readable one.