getsentry / getsentry/sentry-javascript

Error monitoring in RPC contexts

Aperta
#19,595 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Improvement Nest.js
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
515

Descrizione

The `SentryGlobalFilter` does capture exceptions in RPC contexts. However, in this path we log a warning that users should provide their own exception filter and end with a void return (likely leading to weird responses in the application). Maybe we can improve this, for instance by vendoring in the logic from the `BaseRpcExceptionFilter` (see implementation [here]()). This would allow users to use the `SentryGlobalFilter` in rpc contexts.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.