summaryrefslogtreecommitdiff
path: root/core/runtime.rs
diff options
context:
space:
mode:
authorYiyu Lin <linyiyu1992@gmail.com>2023-04-13 08:03:56 +0800
committerGitHub <noreply@github.com>2023-04-13 02:03:56 +0200
commit19c3e4f6dc31fd78e2793d0596d6a9cc3a30580a (patch)
tree1a761ee3b96c20f5c362f7ecfe15724484b36062 /core/runtime.rs
parente2853a955cf532491b4a4fbef669965cc2b44afe (diff)
refactor(serde_v8): move to `thiserror`, better error output (#18202)
Ref #17318 --------- Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'core/runtime.rs')
-rw-r--r--core/runtime.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime.rs b/core/runtime.rs
index 84a72c02b..ef65d2192 100644
--- a/core/runtime.rs
+++ b/core/runtime.rs
@@ -4373,7 +4373,7 @@ Deno.core.opAsync("op_async_serialize_object_with_numbers_as_keys", {
let sum = Deno.core.ops.op_sum_take(w32.subarray(0, 2));
return false;
} catch(e) {
- return e.message.includes('ExpectedDetachable');
+ return e.message.includes('invalid type, expected: detachable');
}
});
if (!assertWasmThrow()) {