History

add units to debug message

Brad Hefta-Gaub committed 10 years ago

Commit b98419e1 parent 45690321 file · +2 −2Browse 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+2−2
@@ -218,11 +218,11 @@ void ScriptEngine::waitTillDoneRunning() { · 217 unmodified lines
218218
219219 // if we've been waiting for more than 5 seconds then we should be more aggessive about stopping
220220 if (elapsedUsecs > WAITING_TOO_LONG) {
221− qCDebug(scriptengine) << "Script " << scriptName << " has been running too long [" << elapsedUsecs << "] quitting.";
221+ qCDebug(scriptengine) << "Script " << scriptName << " has been running too long [" << elapsedUsecs << " usecs] quitting.";
222222 thread()->quit();
223223 break;
224224 } else if (elapsedUsecs > MAX_SCRIPT_EVALUATION_TIME) {
225− qCDebug(scriptengine) << "Script " << scriptName << " has been running too long [" << elapsedUsecs << "] aborting evaluation.";
225+ qCDebug(scriptengine) << "Script " << scriptName << " has been running too long [" << elapsedUsecs << " usecs] aborting evaluation.";
226226 QMetaObject::invokeMethod(this, "abortEvaluation");
227227 }
228228 }