diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Accessor.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Accessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Accessor.h b/Userland/Libraries/LibJS/Runtime/Accessor.h index 5dfed111a7..9f30ba0be4 100644 --- a/Userland/Libraries/LibJS/Runtime/Accessor.h +++ b/Userland/Libraries/LibJS/Runtime/Accessor.h @@ -35,7 +35,7 @@ public: { if (!m_getter) return js_undefined(); - return vm().call(*m_getter, this_value); + return TRY_OR_DISCARD(vm().call(*m_getter, this_value)); } void call_setter(Value this_value, Value setter_value) |