You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a cronjob by using the SchedulerRegistry, exceptions occuring inside the cron-function are not handled and cause the app to exit.
In a previous commit this behavior was fixed when using the @Cron annotation (0cdfe8f)
Is there an existing issue for this?
Current behavior
When adding a cronjob by using the SchedulerRegistry, exceptions occuring inside the cron-function are not handled and cause the app to exit.
In a previous commit this behavior was fixed when using the
@Cron
annotation (0cdfe8f)Minimum reproduction code
https://github.com/simon1389/nestjs-schedule-bug
Steps to reproduce
Expected behavior
I expect the same behavior as when using the
@Cron
syntax.So the error should be catched.
Package version
2.1.0
NestJS version
9.0.0
Node.js version
16.17.1
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: