Skip to content

Add support for catching exceptions in cronjobs - #16

Open
Stoux wants to merge 1 commit into
interjar:masterfrom
Stoux:feature/cron-exception-catcher
Open

Add support for catching exceptions in cronjobs#16
Stoux wants to merge 1 commit into
interjar:masterfrom
Stoux:feature/cron-exception-catcher

Conversation

@Stoux

@Stoux Stoux commented Sep 30, 2019

Copy link
Copy Markdown

I've reworked the ExceptionCatcher to a base class that can be extended by any other plugin. All they have to do is call handleException() to process an exception. Then added plugins for the HTTP app & for the Cron app.

This is possibly a breaking change as we've removed the ExceptionCatcher class. I could rework it to just adding another class next to the default ExceptionCatcher that catches cron exceptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant