GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-nodejs
Unable to grab references to uncaught exceptions
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.4k
- Forks
- 181
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I work at Sentry, an open source software for application monitoring. We are adding support for Node+Cloud Functions to automatically report code errors. However, we are not able to get reference to the handler in order to capture uncaught exceptions. developers are required to manually catch the error and report it (https://github.com/GoogleCloudPlatform/stackdriver-errors-js#usage).
Here's current Sentry Node integration on Cloud Functions (https://docs.sentry.io/platforms/node/guides/gcp-functions/). This requires captureException call.
As a result of conversation with Steren and Vinod, posting the issue here.
cc: @steren @grant
Beitragsleitfaden
Rechercherichtung
Beginne damit, die aktuelle Sentry Node integration, die verlinkte Stackdriver-Nutzung und das in diesem Issue beschriebene Verhalten von functions-framework-nodejs zu lesen. Ermittle, wie ein Cloud Functions-Handler nicht abgefangene Exceptions ohne captureException offenlegen könnte; als erledigt gilt die Aufgabe, wenn die Integration diese Fehler automatisch melden kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- google-cloud, node.js, typescript
- Bereich
- backend, cloud
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 30/100