peppeocchi / php-cron-scheduler

PHP cron job scheduler
MIT License
808 stars 143 forks source link

Switched from using \Exception to using \Throwable #143

Open dnorhoj opened 12 months ago

dnorhoj commented 12 months ago

Switched from using \Exception to using \Throwable, as it is more encompassing and can catch both Error and Exception types, improving error handling.

lenmarknate commented 11 months ago

Would love to see this one merged. Especially for onlyOne(), Errors can cause the job to abort without releasing the lock.