getsentry / getsentry/sentry-javascript
Error monitoring in RPC contexts
Offen
Improvement
Nest.js
- Vorherrschende Sprache
- TypeScript
- Sterne
- 8.7k
- Forks
- 1.8k
- Ø Merge
- 1 T. 17 Std.
- Gemergte PRs (30 T.)
- 515
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.