|
|
@ -88,7 +88,7 @@ function on_exit { |
|
|
# lib/utility.bash # which contains error |
|
|
# lib/utility.bash # which contains error |
|
|
# ``` |
|
|
# ``` |
|
|
regex="^ .*:[0-9]* .*\$" |
|
|
regex="^ .*:[0-9]* .*\$" |
|
|
[[ "$last_error" =~ $regex ]] || stack_summary+=("ERROR $code: <undefined>") |
|
|
|
|
|
|
|
|
[[ "$last_error" =~ $regex ]] || stack_summary+=("ERROR $code:") # <undefined> |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
for i in "${!stack_functions[@]}"; do |
|
|
for i in "${!stack_functions[@]}"; do |
|
|
|