|
|
|
@ -78,6 +78,8 @@ function on_exit { |
|
|
|
stack_summary+=("ERROR $code: [$message]") |
|
|
|
fi |
|
|
|
else |
|
|
|
# FIXME: should grab the whole stacktrace, then print back again, |
|
|
|
# because previous stderr might disappear from the first script after calling subprocess! |
|
|
|
regex="^ .*:[0-9]* .*\$" |
|
|
|
[[ "$last_error" =~ $regex ]] || stack_summary+=("ERROR $code: <undefined>") |
|
|
|
fi |
|
|
|
|