File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -235,8 +235,11 @@ core.panic() {
235
235
fi
236
236
237
237
if core.err_exists; then
238
- core.private.util.err_print
238
+ printf ' %s\n' ' Error found:'
239
+ printf ' %s\n' " ERRCODE: $ERRCODE " >&2
240
+ printf ' %s\n' " ERR: $ERR " >&2
239
241
fi
242
+
240
243
core.print_stacktrace
241
244
exit " $code "
242
245
}
Original file line number Diff line number Diff line change @@ -70,14 +70,6 @@ core.private.util.validate_signal() {
70
70
fi
71
71
}
72
72
73
- # @description Prints the current errors
74
- # @internal
75
- core.private.util.err_print () {
76
- printf ' %s\n' ' Error found:'
77
- printf ' %s\n' " ERRCODE: $ERRCODE " >&2
78
- printf ' %s\n' " ERR: $ERR " >&2
79
- }
80
-
81
73
# @description Determine if should print color, given a file descriptor
82
74
# @arg 1 File descriptor for terminal check
83
75
# @internal
You can’t perform that action at this time.
0 commit comments