Detecting script execution failures

Script exited with error status can be detected with the "Exit Status" in the execution log.