Is it possible to have Hazel send an email when there is an error?
I already activated the options to post in Notification Center for all Errors, File Events and Trash Events, but I am not always in front of the computer to catch that.
In particular, I am referring to rules that execute shell scripts. Those appear in the log as, for example,
2017-02-19 11:11:05.326 hazelworker[90454] [Error] Shell script failed: Error processing shell script /Users/andrea/Dropbox/BCM/disegna_R.sh on file /Users/andrea/Dropbox/BCM/Battito_pressione.txt.
2017-02-19 11:11:05.327 hazelworker[90454] Shellscript exited with non-successful status code: 1
Is there a way to catch those exit statuses, other than modify the shell script themselves?
Thanks in advance