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

Fail gracefully if stacktrace-js has not been loaded properly. #26

Open steren opened 6 years ago

steren commented 6 years ago

If the StackTrace object is not available (because the user has not loaded the contact.dist.js file for example), print an error in the console explaining what needs to be done.