History

Use specific debug name literal instead of __FUNCTION__ from within lambda

humbletim committed 9 years ago

Commit 8582c7a1 parent 6b927de1 file · +1 −1Browse 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−1
@@ -1840,7 +1840,7 @@ void ScriptEngine::include(const QStringList& includeFiles, QScriptValue callbac · 1839 unmodified lines
1840 1840
1841 doWithEnvironment(capturedEntityIdentifier, capturedSandboxURL, operation);1841 doWithEnvironment(capturedEntityIdentifier, capturedSandboxURL, operation);
1842 if (hasUncaughtException()) {1842 if (hasUncaughtException()) {
1843 emit unhandledException(cloneUncaughtException(__FUNCTION__));1843 emit unhandledException(cloneUncaughtException("evaluateInclude"));
1844 clearExceptions();1844 clearExceptions();
1845 }1845 }
1846 } else {1846 } else {