How to use the send function from raven
Find comprehensive JavaScript raven.send code examples handpicked from public code repositorys.
44 45 46 47 48 49 50 51 52 53
if (!raven.dsn) { log.info('Does not have global sentry'); return; } ctx.event_id = raven.generateEventId(); raven.send(ctx, (publishErr) => { if (publishErr) { log.error('Failed to publish error into global sentry: %s', publishErr.message); return; }
21
45
32
raven.captureException is the most popular function in raven (228 examples)