New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node-cron and node-schedule fire checkin only on app start #11766
Labels
Comments
mydea
pushed a commit
that referenced
this issue
May 7, 2024
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.
andreiborza
pushed a commit
that referenced
this issue
May 16, 2024
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
7.112.1
Framework Version
express 4.19.2
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
cron
,node-cron
andnode-schedule
Expected Result
When a job from
cron
is executed, the Sentry logs are correct. Butnode-cron
andnode-schedule
are only logged on app start. Those should also log likecron
.Actual Result
This is the log.
node-schedule
andnode-cron
produce no Sentry logs anymore.The text was updated successfully, but these errors were encountered: