Use the Anr integration instead.
Anr
import * as Sentry from '@sentry/node';Sentry.init({ dsn: '__DSN__', integrations: [new Sentry.Integrations.Anr({ captureStackTrace: true })],}); Copy
import * as Sentry from '@sentry/node';Sentry.init({ dsn: '__DSN__', integrations: [new Sentry.Integrations.Anr({ captureStackTrace: true })],});
Deprecated
Use the
Anr
integration instead.