summaryrefslogtreecommitdiff
path: root/runtime/js/40_error_stack.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/40_error_stack.js')
-rw-r--r--runtime/js/40_error_stack.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/runtime/js/40_error_stack.js b/runtime/js/40_error_stack.js
index 7ed463273..1ecf0f6bb 100644
--- a/runtime/js/40_error_stack.js
+++ b/runtime/js/40_error_stack.js
@@ -13,12 +13,7 @@
}
function opApplySourceMap(location) {
- const res = core.opSync("op_apply_source_map", location);
- return {
- fileName: res.fileName,
- lineNumber: res.lineNumber,
- columnNumber: res.columnNumber,
- };
+ return core.applySourceMap(location);
}
window.__bootstrap.errorStack = {