feat: enable zig stack traces on errors with --debug-dump-on-error
This commit is contained in:
parent
8b893ab8b0
commit
a3a298f721
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ pub fn main() anyerror!void {
|
|||
return error.SetLocaleFailed;
|
||||
}
|
||||
|
||||
if (res.args.@"debug-dump-on-error" != 0)
|
||||
thespian.stack_trace_on_errors = true;
|
||||
|
||||
var ctx = try thespian.context.init(a);
|
||||
defer ctx.deinit();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue