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
18401840
18411841 doWithEnvironment(capturedEntityIdentifier, capturedSandboxURL, operation);
18421842 if (hasUncaughtException()) {
1843− emit unhandledException(cloneUncaughtException(__FUNCTION__));
1843+ emit unhandledException(cloneUncaughtException("evaluateInclude"));
18441844 clearExceptions();
18451845 }
18461846 } else {