In Sentry initialization file, you can set up Sentry with tracing and profiling, along with advanced configuration options to manage error handling more effectively.
Create Sentry filter
The Sentry filter allows you to add context to each error, making debugging more insightful by providing request details and user information without exposing sensitive data.
Initialize filter
In your main application module, register the Sentry filter globally.
After completing this steps you should be able to create test endopoint and catch your first error.