mirror of
https://github.com/electron/electron.git
synced 2026-02-16 10:07:05 -05:00
Don't throw error in Constructor
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user