summaryrefslogtreecommitdiff
path: root/runtime/js/99_main.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r--runtime/js/99_main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index 0bacaf58c..ae0de3937 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -231,7 +231,7 @@ delete Object.prototype.__proto__;
function runtimeStart(runtimeOptions, source) {
core.setMacrotaskCallback(timers.handleTimerMacrotask);
core.setWasmStreamingCallback(fetch.handleWasmStreaming);
- core.setFormatExceptionCallback(formatException);
+ core.opSync("op_set_format_exception_callback", formatException);
version.setVersions(
runtimeOptions.denoVersion,
runtimeOptions.v8Version,