Browse Source

no more trace: ERROR

main
pvincent 2 weeks ago
parent
commit
57ad16d291
  1. 3
      bin/miaou-bash

3
bin/miaou-bash

@ -91,7 +91,6 @@ function on_exit {
stack_functions=("$funcname" "${stack_functions[@]}") stack_functions=("$funcname" "${stack_functions[@]}")
failure_type='RETURN' failure_type='RETURN'
failure_traces+=("ERROR $code: [return $return_code]")
else else
regex='^(.*): command not found$' regex='^(.*): command not found$'
if [[ "$message" =~ $regex ]]; then if [[ "$message" =~ $regex ]]; then
@ -131,7 +130,6 @@ function on_exit {
fi fi
fi fi
fi fi
failure_traces+=("ERROR $code: [$message]")
fi fi
fi fi
else else
@ -152,7 +150,6 @@ function on_exit {
code=141 code=141
failure_type='PIPE ERROR' failure_type='PIPE ERROR'
fi fi
failure_traces+=("ERROR $code:") # <undefined>
fi fi
fi fi

Loading…
Cancel
Save