Index: Source/bindings/scripts/v8_interface.py |
diff --git a/Source/bindings/scripts/v8_interface.py b/Source/bindings/scripts/v8_interface.py |
index 606381a248b8113d6534d61542be0a168f87cf0e..dadcf4dee7a633848c80f4664387b2d518552545 100644 |
--- a/Source/bindings/scripts/v8_interface.py |
+++ b/Source/bindings/scripts/v8_interface.py |
@@ -856,7 +856,7 @@ def sort_and_groupby(l, key=None): |
# [Constructor] |
def constructor_context(interface, constructor): |
- arguments_need_try_catch = any(v8_methods.argument_needs_try_catch(argument, return_promise=False) |
+ arguments_need_try_catch = any(v8_methods.argument_needs_try_catch(constructor, argument) |
for argument in constructor.arguments) |
# [RaisesException=Constructor] |