It's bash so pretty easy to audit
set -eu
set -o pipefail
at the top of the script, which is equivalent to ON ERROR RESUME NEXT
in BASIC.I used the options you mention before, however I found it highly unreliable. I have replaced them with better manual error handling and tests. Please review the latest code. I'm looking forward to any reported issues.