getsentry / getsentry/sentry-javascript

Error monitoring in RPC contexts

Offen
#19,595 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
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

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.