diff --git a/source/scriptinterface/ScriptInterface.cpp b/source/scriptinterface/ScriptInterface.cpp index 17555f85a1..d87ab68280 100644 --- a/source/scriptinterface/ScriptInterface.cpp +++ b/source/scriptinterface/ScriptInterface.cpp @@ -1012,7 +1012,6 @@ std::string ScriptInterface::StringifyJSON(JS::MutableHandleValue obj, bool inde { JS_ClearPendingException(m->m_cx); LOGERROR(L"StringifyJSON failed"); - JS_ClearPendingException(m->m_cx); return std::string(); }