GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-nodejs
Unable to grab references to uncaught exceptions
- Langage dominant
- TypeScript
- Étoiles
- 1.4k
- Forks
- 181
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par lire l’intégration Sentry Node actuelle, l’utilisation de Stackdriver liée et le comportement de functions-framework-nodejs décrit dans cette issue. Déterminez comment un handler Cloud Functions pourrait exposer les exceptions non interceptées sans nécessiter captureException ; le travail est terminé lorsque l’intégration peut signaler automatiquement ces erreurs.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- google-cloud, node.js, typescript
- Domaine
- backend, cloud
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 30/100