diff --git a/src/node_contextify.cc b/src/node_contextify.cc index 5239c411500431..fbc04ba0c07ae9 100644 --- a/src/node_contextify.cc +++ b/src/node_contextify.cc @@ -440,7 +440,8 @@ class ContextifyContext { desc_for_sandbox->set_configurable(desc.configurable()); } // Set the property on the sandbox. - sandbox->DefineProperty(context, property, *desc_for_sandbox); + sandbox->DefineProperty(context, property, *desc_for_sandbox) + .FromJust(); }; if (desc.has_get() || desc.has_set()) {