sentry-javascript
sentry-javascript copied to clipboard
fix(node): Fix cron instrumentation and add tests
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.