getsentry / getsentry/sentry-javascript
Error monitoring in RPC contexts
Open
Improvement
Nest.js
- Dominant language
- TypeScript
- Stars
- 8.7k
- Forks
- 1.8k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 515
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.