From f55df1ab8ff9151f2477a9584531dc1fa986d142 Mon Sep 17 00:00:00 2001 From: hysios Date: Thu, 12 Apr 2012 20:07:58 +0800 Subject: [PATCH] add error log to console --- ext/jasmine-webkit-specrunner/Runner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/jasmine-webkit-specrunner/Runner.cpp b/ext/jasmine-webkit-specrunner/Runner.cpp index e5e03a5..86d36c2 100644 --- a/ext/jasmine-webkit-specrunner/Runner.cpp +++ b/ext/jasmine-webkit-specrunner/Runner.cpp @@ -56,7 +56,7 @@ void Runner::handleError(const QString &message, int lineNumber, const QString & QString command("JHW._handleError(\"" + messageEscaped + "\", " + QString(ss.str().c_str()) + ", \"" + sourceIDEscaped + "\"); false;"); page.mainFrame()->evaluateJavaScript(command); - + print("stdout", command); hasErrors = true; }