summaryrefslogtreecommitdiff
path: root/core/runtime.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-04-27 02:12:39 +0200
committerGitHub <noreply@github.com>2023-04-27 02:12:39 +0200
commit1054723a4b8bcbfe904980acd2193c0fb2458001 (patch)
tree68601f834a64b08fc7e1a6428fa3c11c6c329f26 /core/runtime.rs
parent09b6dbc0a63cc55d0f65bd51416a04e577e08490 (diff)
feat(serde_v8): better error output (#18815)
The type that was received is now printed as part of a message.
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 3723a917a..9ead489af 100644
--- a/core/runtime.rs
+++ b/core/runtime.rs
@@ -4385,7 +4385,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('invalid type, expected: detachable');
+ return e.message.includes('invalid type; expected: detachable');
}
});
if (!assertWasmThrow()) {