← All case files
OngoingAlways on

Resolving 500+ production issues by finding the wrong layer first

I resolved 500+ production issues from Sentry reports, API behavior and QA escalations.

Situation

Reports arrive as vague sentences: the invoice looks wrong, it sometimes does not save.

Decision

Find which layer is wrong before changing any code: the screen, the API response or the data itself.

What I did

  • Start from the Sentry trace and the exact user state, not from the description.
  • Decide which layer is wrong.
  • Reproduce it, fix it, then check whether the same kind of bug exists elsewhere.
  • Add a guard, such as an error boundary, validation or a shared utility, so it fails loudly next time.

Result

500+ issues resolved. Fixes handle the bad state explicitly, and shared utilities and error boundaries keep one broken widget from taking a page down.

Used

  • Sentry
  • Axios interceptors
  • Error boundaries
Next case fileShowing MatterSuite where people actually click, with PostHog