Don't throw error in Constructor
This commit is contained in:
parent
cc9d222923
commit
b1f7cfa9da
1 changed files with 0 additions and 2 deletions
|
@ -154,8 +154,6 @@ class Constructor {
|
|||
Wrappable* object = internal::InvokeFactory(args, factory);
|
||||
if (object)
|
||||
object->Wrap(isolate, args->GetThis());
|
||||
else
|
||||
args->ThrowError();
|
||||
|
||||
MATE_METHOD_RETURN_UNDEFINED();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue