diff options
author | 2023-07-11 19:06:49 -0700 | |
---|---|---|
committer | 2023-07-11 19:06:49 -0700 | |
commit | 34b0e7a2bbd8bf8097341cdb0075d0908283e834 (patch) | |
tree | f53f140b6298003f1aa12a487007013b84c6a7d2 | |
parent | c5f228048936b266ac5c2dd840e59222c2e893c3 (diff) | |
download | bun-34b0e7a2bbd8bf8097341cdb0075d0908283e834.tar.gz bun-34b0e7a2bbd8bf8097341cdb0075d0908283e834.tar.zst bun-34b0e7a2bbd8bf8097341cdb0075d0908283e834.zip |
Update ZigGlobalObject.cpp
-rw-r--r-- | src/bun.js/bindings/ZigGlobalObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/bindings/ZigGlobalObject.cpp b/src/bun.js/bindings/ZigGlobalObject.cpp index af0dad4da..91d365af6 100644 --- a/src/bun.js/bindings/ZigGlobalObject.cpp +++ b/src/bun.js/bindings/ZigGlobalObject.cpp @@ -436,7 +436,7 @@ static String computeErrorInfoWithoutPrepareStackTrace(JSC::VM& vm, Vector<Stack hasSet = true; line = thisLine; column = thisColumn; - sourceURL = sourceURLForFrame; + sourceURL = frame.sourceURL(vm); if (errorInstance) { if (remappedFrames[i].remapped) { |