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

Refactor #67

Closed bz2 closed 5 years ago

bz2 commented 5 years ago

Some minor refactoring that were some prerequisite changes to adding a consoleMessages option.

This does change the public (but not documented) interface somewhat, by removing sendErrorPayload() from the reporter, and instead making it an unexposed helper function.