add error log to console
This commit is contained in:
parent
57a8c2661a
commit
f55df1ab8f
@ -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;");
|
QString command("JHW._handleError(\"" + messageEscaped + "\", " + QString(ss.str().c_str()) + ", \"" + sourceIDEscaped + "\"); false;");
|
||||||
|
|
||||||
page.mainFrame()->evaluateJavaScript(command);
|
page.mainFrame()->evaluateJavaScript(command);
|
||||||
|
print("stdout", command);
|
||||||
hasErrors = true;
|
hasErrors = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user