From 9385a913125df07f5216322e0b18aec1c6883957 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Tue, 7 Jun 2022 10:25:10 +0100 Subject: refactor(core): Move Deno.core bindings to ops (#14793) --- runtime/js/99_main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/js') 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, -- cgit v1.2.3