unknown_error_bypass
This commit is contained in:
+7
-3
@@ -571,9 +571,13 @@ function on_exit {
|
||||
if ! is_true $CHILD_PROCESS; then
|
||||
2>&3 >&3 dump_stderr
|
||||
if [[ -v failure_type && $failure_code -gt 0 ]]; then
|
||||
2>&3 >&4 dump_failure
|
||||
if [[ -v error_source ]]; then
|
||||
2>&3 >&4 dump_stacktrace
|
||||
if [[ $failure_type == 'UNKNOWN ERROR' && $failure_payload == "source \"\$SCRIPT\"" ]]; then
|
||||
miaou_debug "<unknown_error bypass=true cause=source_script/>"
|
||||
else
|
||||
2>&3 >&4 dump_failure
|
||||
if [[ -v error_source ]]; then
|
||||
2>&3 >&4 dump_stacktrace
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
elif [[ -v failure_type ]]; then
|
||||
|
||||
Reference in New Issue
Block a user