-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Milestone
Description
Is this guaranteed to report the exception to Sentry?
try {
// code
} catch (e) {
const eventId = Sentry.captureException(e);
console.log('sentry event', eventId);
process.exit(1);
}
The documentation is not clear if the event id is generated locally or remotely. Is draining relevant at all? https://docs.sentry.io/error-reporting/configuration/draining/?platform=node
Haroenv, ronkot, kamilkijak, hden, ArmorDarks and 8 more