History

Add exception handling to callEntityMethod calls

Ryan Huffman committed 10 years ago

Commit 03c01bb1 parent 4efeb921 file · +1 −0Browse files

Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+1−0
@@ -1533,6 +1533,7 @@ void ScriptEngine::doWithEnvironment(const EntityItemID& entityID, const QUrl& s · 1532 unmodified lines
1533#else1533#else
1534 operation();1534 operation();
1535#endif1535#endif
1536 hadUncaughtExceptions(*this, _fileNameString);
1536 1537
1537 currentEntityIdentifier = oldIdentifier;1538 currentEntityIdentifier = oldIdentifier;
1538 currentSandboxURL = oldSandboxURL;1539 currentSandboxURL = oldSandboxURL;