Skip to content

Commit 3ee1d41

Browse files
committed
fix: Panic properly prints stacktrace
1 parent aef8f32 commit 3ee1d41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/src/public/bash-core.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,9 @@ core.panic() {
321321
fi
322322

323323
if core.err_exists; then
324-
core.err_print
324+
core.util.err_print
325325
fi
326-
core.util.err_print
326+
core.print_stacktrace
327327
exit "$code"
328328
}
329329

0 commit comments

Comments
 (0)