diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2022-06-07 10:25:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-07 11:25:10 +0200 |
commit | 9385a913125df07f5216322e0b18aec1c6883957 (patch) | |
tree | 88705e174bf9ba5626a3c9a80911a56e77294682 /runtime/js | |
parent | cfb6067f9bc0900a7d7fc6c75f19930542ed679c (diff) |
refactor(core): Move Deno.core bindings to ops (#14793)
Diffstat (limited to 'runtime/js')
-rw-r--r-- | runtime/js/99_main.js | 2 |
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, |