diff options
author | 2022-02-11 14:59:15 -0800 | |
---|---|---|
committer | 2022-02-11 14:59:15 -0800 | |
commit | bfd7f3398cbbdce3da97158835fd311af3f73f3a (patch) | |
tree | 13b030b673ca40565a9cc0cf4f382b428145e76b | |
parent | fce94e29a00f7b0b533c2725fe36b807a61ea517 (diff) | |
download | bun-bfd7f3398cbbdce3da97158835fd311af3f73f3a.tar.gz bun-bfd7f3398cbbdce3da97158835fd311af3f73f3a.tar.zst bun-bfd7f3398cbbdce3da97158835fd311af3f73f3a.zip |
Update report.zig
-rw-r--r-- | src/report.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/report.zig b/src/report.zig index c60ba9e68..393f81e92 100644 --- a/src/report.zig +++ b/src/report.zig @@ -270,6 +270,7 @@ pub noinline fn handleCrash(signal: i32, addr: usize) void { } crash_report_writer.file = null; + if (comptime Environment.isDebug) { if (@errorReturnTrace()) |stack| { std.debug.dumpStackTrace(stack.*); } |