tab error

This commit is contained in:
pvincent
2026-07-15 23:50:18 +04:00
parent 57ad16d291
commit ebaa658f46
+4 -4
View File
@@ -154,7 +154,7 @@ function on_exit {
fi
for i in "${!stack_functions[@]}"; do
stack_detail=$(printf "\t%30s\t%s\n" "${stack_sources[$i]}:${stack_lines[$i]}" "${stack_functions[$i]}")
stack_detail=$(printf "\t%40s\t%s\n" "${stack_sources[$i]}:${stack_lines[$i]}" "${stack_functions[$i]}")
failure_traces+=("$stack_detail")
done
dump_failure
@@ -179,9 +179,9 @@ function dump_failure {
if [[ $failure_type == 'SUBSHELL ERROR' ]]; then
>&4 echo -e "${failure_payload}"
else
>&4 echo "CODE: ${code}"
>&4 echo "TYPE: ${failure_type}"
>&4 echo "PAYLOAD: ${failure_payload}"
>&4 echo -e "\tCODE: ${code}"
>&4 echo -e "\tTYPE: ${failure_type}"
>&4 echo -e "\tPAYLOAD: ${failure_payload}"
fi
fi
for i in "${failure_traces[@]}"; do