Add exception handling to callEntityMethod calls

This commit is contained in:
Ryan Huffman 2016-09-20 08:34:39 -07:00
parent 4efeb928e2
commit 03c01bb9b0

View file

@ -1533,6 +1533,7 @@ void ScriptEngine::doWithEnvironment(const EntityItemID& entityID, const QUrl& s
#else
operation();
#endif
hadUncaughtExceptions(*this, _fileNameString);
currentEntityIdentifier = oldIdentifier;
currentSandboxURL = oldSandboxURL;