Page MenuHomePhabricator

New Gravy JS Error not triggering our client side error API calls
Closed, ResolvedPublic

Description

We encountered a new Gravy production JS error today. We raised it with Gravy on Slack here

controller.4b4c84add282f3dc1ba9.js:363 

Uncaught TypeError: Cannot set properties of undefined (setting '_added')
    at handleAdd (controller.4b4c84add282f3dc1ba9.js:363:30)
    at 273.e6a2b9ab080bae5396ec.js:597:48
    at BroadcastChannel.<anonymous> (273.e6a2b9ab080bae5396ec.js:534:70)

This one is unusual as it's not triggering our client error API call (the thing that logs client-side errors). It's also not blocking transactions, which suggests it's not a serious bug, but still, we ideally want to know about these types of errors regardless of severity.

Event Timeline

We were using window.onerror to catch uncaught errors and this one above (BroadcastChannel) is an async event, so not able to be controlled by us. Nothing we can do for this case.

XenoRyet set Final Story Points to 1.