Skip to content

Commit

Permalink
Turn off debugging messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jordancarlin committed Jul 27, 2024
1 parent ec80fc0 commit a01b0a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/wally-tool-chain-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ ENDC='\033[0m' # Reset to default color
## Helper functions
# Error handler
error() {
set +x
echo -e "${FAIL_COLOR}Error: $STATUS installation failed"
echo -e "Error on line ${BASH_LINENO[0]} with command $BASH_COMMAND${ENDC}"
exit 1
Expand All @@ -71,7 +70,7 @@ logger() {
cat < /dev/stdin | tee -a "$log" | (grep -iE --color=never "(\bwarning|\berror|\bfail|\bsuccess|\bstamp)" || true) | (grep -viE --color=never "(Wno-error)" || true)
}

set -ex # break on error
set -e # break on error
trap error ERR # run error handler on error
STATUS="setup" # keep track of what part of the installation is running for error messages

Expand Down

0 comments on commit a01b0a5

Please sign in to comment.