sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

fix(node): Fix cron instrumentation and add tests

Open timfish opened this issue 1 year ago • 0 comments

Closes #11766

These tests are also in TypeScript so they check the types too.

I found that two out of three cron libraries were actually swallowing exceptions so that they were not captured by Sentry. I added calls to captureException to rectify that.

timfish avatar Apr 26 '24 12:04 timfish