You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When something goes wrong inside preprocess.sh, the script will still return exit code 0 and main will continue running making it a bit more difficult to diagnose problem. I recommend adding the following at the top of every bash script.
set -e
set -x
set -e makes sure that script will exist as soon as something goes wrong, and set -x echos out all command executed in the script to help diagnose problems.
The text was updated successfully, but these errors were encountered:
When something goes wrong inside
preprocess.sh
, the script will still return exit code 0 andmain
will continue running making it a bit more difficult to diagnose problem. I recommend adding the following at the top of every bash script.set -e
makes sure that script will exist as soon as something goes wrong, andset -x
echos out all command executed in the script to help diagnose problems.The text was updated successfully, but these errors were encountered: