Problem/Motivation

The current module doesn't provide a way to alter messages. Also, it only sends notifications when the current error state differs from the previous state.

Proposed resolution

Alter the settings form to include the list of all active modules and a message field to alter the notification message, which should throw error whenever there is an error on running cron.

Comments

vatsalkhanna created an issue. See original summary.

vatsalkhanna’s picture

Added a patch to fix the problem.

vatsalkhanna’s picture

Assigned: vatsalkhanna » Unassigned
Status: Active » Needs review
vatsalkhanna’s picture

Updated patch to fetch logger messages and show them while posting notifications on slack.

vatsalkhanna’s picture

StatusFileSize
new6.11 KB

Forgot to make changes to the settings form in the previous patch file. Uploading new patch file. Please ignore patch #4.

ghost of drupal past’s picture

Thanks for the patch. If a per minute cronjob enters into an error state and stays there it would flood Slack with messages. This is not desirable for us. If you were to make it configurable, I would add this feature.