csgo-trader-extension
csgo-trader-extension copied to clipboard
Client side error collection
Currently I have no visibility into the errors happening on client side. Listen to errors [1], capture the stack [2], store it in storage.locale and send it to the back end with telemetry.
On server side, store the errors in a DynamoDB table. Alerting / dashboard creation is not in the scope of this issue.
[1] https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror [2] https://www.sitepoint.com/proper-error-handling-javascript/