GoogleCloudPlatform / stackdriver-errors-js

Client-side JavaScript exception reporting library for Cloud Error Reporting
https://cloud.google.com/error-reporting/
Apache License 2.0
362 stars 54 forks source link

Handle failures to process stacktraces. #17

Closed mikelambert closed 7 years ago

mikelambert commented 7 years ago

This can manifest as "Unhandled promise rejection" or "Cannot parse given Error object" messages in the browser, that occur while trying to run the stackdriver-errors-js code...though you'd never know it unless you were also running another javascript-error-reporting system (like I was)

These breaking exceptions can happen with stacktraces like "Access Denied", which stacktrace.js fails on: https://github.com/stacktracejs/stacktrace.js/issues/170

steren commented 7 years ago

Great addition, thanks!