My tests pass. Do I still need error monitoring?

Yes. Tests show that the paths you wrote, with the data you staged, behave as you expect. Production adds other browsers, extensions, missing fields, and a page that still holds the previous files after a deploy. Monitoring then shows the exceptions those visitors hit. It stays quiet on a path nobody opens and before the SDK loads.

Last updated 26 November 2026. By Paul Badarau.

Jules, a fictional developer, ships a class-booking page. The suite builds a pupil with every field filled in, and it passes. The next morning an old phone hits a response that left one field out.

  1. Keep the tests. They lock the paths and the data you staged. They do not open the deployed page in the browser a visitor has.
  2. Watch production for the cases the fixture never built. Another browser, an extension, a response that omitted a field, and a tab that still has the previous files after a deploy. Those arrive as a chunk load failure or as a read of an undefined property. Set release in Sentry.init so the stored event names the build.
  3. After the suite is green, open the deployed page in a fresh tab and book a class. A path nobody visits sends nothing. A throw before Sentry.init sends nothing either.

Raw events are kept 7 days, so a failure from last month is no longer in the list. The test is what still fails on your machine for a path you already understand. The phone from this morning is the case the fixture did not build.

The product page for this is Monitoring.

Start your 14-day free trial