@@ -35,10 +35,6 @@ interface ExpressRequest {
35
35
36
36
/**
37
37
* Interceptor to add Sentry tracing capabilities to Nest.js applications.
38
- *
39
- * @deprecated `SentryTracingInterceptor` is deprecated.
40
- * If you are using `@sentry/nestjs` you can safely remove any references to the `SentryTracingInterceptor`.
41
- * If you are using another package migrate to `@sentry/nestjs` and remove the `SentryTracingInterceptor` afterwards.
42
38
*/
43
39
class SentryTracingInterceptor implements NestInterceptor {
44
40
// used to exclude this class from being auto-instrumented
@@ -73,10 +69,7 @@ class SentryTracingInterceptor implements NestInterceptor {
73
69
return next . handle ( ) ;
74
70
}
75
71
}
76
- // eslint-disable-next-line deprecation/deprecation
77
72
Injectable ( ) ( SentryTracingInterceptor ) ;
78
- // eslint-disable-next-line deprecation/deprecation
79
- export { SentryTracingInterceptor } ;
80
73
81
74
/**
82
75
* Global filter to handle exceptions and report them to Sentry.
@@ -179,7 +172,6 @@ class SentryModule {
179
172
providers : [
180
173
{
181
174
provide : APP_INTERCEPTOR ,
182
- // eslint-disable-next-line deprecation/deprecation
183
175
useClass : SentryTracingInterceptor ,
184
176
} ,
185
177
] ,
@@ -191,7 +183,6 @@ Module({
191
183
providers : [
192
184
{
193
185
provide : APP_INTERCEPTOR ,
194
- // eslint-disable-next-line deprecation/deprecation
195
186
useClass : SentryTracingInterceptor ,
196
187
} ,
197
188
] ,
0 commit comments