apsystole / log

Go logging library for GCP App Engine, Cloud Run, Cloud Functions
MIT License
14 stars 1 forks source link

Feature request: Allow reporting errors #7

Open steebchen opened 2 years ago

steebchen commented 2 years ago

This may be out of scope, but I think it would be useful to report errors via a new method, like Report or something. Especially because the error detection for Go does not seem to work (compared to e.g. NodeJS) – it logs panics but usually does not report them to error reporting automatically.

Some info: https://cloud.google.com/error-reporting/docs/formatting-error-messages json @type needs to be type.googleapis.com/google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent

jabielecki commented 2 years ago

:thinking: I'm not sure it's in scope. Is there a compelling user story behind this? (I don't know the Node.js behavior.)