Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_messaging.cc')
-rw-r--r--src/node_messaging.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/node_messaging.cc b/src/node_messaging.cc
index 22d2ff72572..da2e915d02d 100644
--- a/src/node_messaging.cc
+++ b/src/node_messaging.cc
@@ -354,9 +354,7 @@ class SerializerDelegate : public ValueSerializer::Delegate {
ThrowDataCloneError(env_->clone_unsupported_type_str());
return Nothing<bool>();
} else if (mode == BaseObject::TransferMode::kTransferable) {
- // TODO(addaleax): This message code is too specific. Fix that in a
- // semver-major follow-up.
- THROW_ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST(env_);
+ THROW_ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST(env_);
return Nothing<bool>();
}