Script exit codes and SAB History
Posted: March 18th, 2014, 7:31 pm
When Sab fails to download, verify, unrar etc, it is shown nice and clear in the history with red text etc and the status for email notifications appears to be set to "False"
However, when a post-processing script exits with anything other than a "0" to show that something has probably gone wrong, SAB still displays this in the history with green text, although with with the exit code at the beginning, and the email status flag is a healthy "true"
Is it possible to alter this so SAB's history shows this as a failure in red (or orange to designate a script failure) and the email notification status set to "False", possibly by use of a special exit code such as "9999" so as not to interfere with existing
post-processing scripts?
However, when a post-processing script exits with anything other than a "0" to show that something has probably gone wrong, SAB still displays this in the history with green text, although with with the exit code at the beginning, and the email status flag is a healthy "true"
Is it possible to alter this so SAB's history shows this as a failure in red (or orange to designate a script failure) and the email notification status set to "False", possibly by use of a special exit code such as "9999" so as not to interfere with existing
post-processing scripts?