Skip to content

Add silent_fatal

This PR adds a new function for use in cronscripts: silent_fatal.

This function can be used to immediately halt the execution of a cron without sending mail to ESCALATE_MAILTO. Of course, mail is still sent when the same cronscript calls non-fatal functions that increase the counters (warning or error) before silent_fatal.

Aside from not sending mail to ESCALATE_MAILTO, the behaviour is the same as that of a normal fatal call.

Merge request reports