Urgent.News

What's breaking now, across thousands of outlets.

Tech

Observability in the frontend: HTTP 200 hides ~900 empty catches

Abri o checkout e o BFF de pagamento devolveu HTTP 200. No botão, TypeError. Seller e comprador falhavam sem stack, sem release, sem rota. Infra já tinha métrica. O navegador, onde o dinheiro vive, era ponto cego. Eu contei da ordem de ~900 catch vazios ou logs que engoliam a exceção. Quatro fronts. Sem dono. Se eu ligasse o SDK no default do wizard, ia queimar quota e ainda assim não ter golden…

Translated from Portuguese Read in Portuguese

A software developer encountered issues with error detection and monitoring while implementing a payment checkout system. Despite receiving an HTTP 200 response, users experienced errors, which were not caught by the monitoring system due to empty catch blocks. The developer implemented a solution using Sentry, setting specific sampling rates and tags to track errors, and achieved better error detection and monitoring.

The solution involved setting up a contract for error tracking, including domain and flow tags, and ensuring that error detection was not limited to just backend metrics.

Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Sunday 13 September →