diff options
author | 2022-11-11 04:18:15 -0800 | |
---|---|---|
committer | 2022-11-11 04:18:15 -0800 | |
commit | 5f5d74c534c6482d91c07037cd0a1ae02bd92a3f (patch) | |
tree | f2a489db80fe7d4459f183ef436a408756e9e6fe | |
parent | b3b70035a1d24e9aa3dbcba3e8fc8b2b34b7b95d (diff) | |
download | bun-5f5d74c534c6482d91c07037cd0a1ae02bd92a3f.tar.gz bun-5f5d74c534c6482d91c07037cd0a1ae02bd92a3f.tar.zst bun-5f5d74c534c6482d91c07037cd0a1ae02bd92a3f.zip |
2 frames
Diffstat (limited to '')
-rw-r--r-- | src/bun.js/bindings/wtf-bindings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/bindings/wtf-bindings.cpp b/src/bun.js/bindings/wtf-bindings.cpp index d1d73a891..78b88ad5e 100644 --- a/src/bun.js/bindings/wtf-bindings.cpp +++ b/src/bun.js/bindings/wtf-bindings.cpp @@ -19,7 +19,7 @@ extern "C" void Bun__crashReportWrite(void* ctx, const char* message, size_t len extern "C" void Bun__crashReportDumpStackTrace(void* ctx) { static constexpr int framesToShow = 32; - static constexpr int framesToSkip = 4; + static constexpr int framesToSkip = 2; void* stack[framesToShow + framesToSkip]; int frames = framesToShow + framesToSkip; WTFGetBacktrace(stack, &frames); |