getsentry / getsentry/sentry-javascript

Error monitoring in RPC contexts

Open
#19,595 1 comment 0 reactions 0 assignees View on GitHub
Improvement Nest.js
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
523

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.