mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
Don't scare users with critical parser log messages
This commit is contained in:
parent
d30cd0f0fd
commit
038644f378
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ UpdateInfo UpdateInfo::parseString(const QString &xml, bool *ok)
|
||||||
int errorLine = 0, errorCol = 0;
|
int errorLine = 0, errorCol = 0;
|
||||||
QDomDocument doc;
|
QDomDocument doc;
|
||||||
if (!doc.setContent(xml, false, &errorMsg, &errorLine, &errorCol)) {
|
if (!doc.setContent(xml, false, &errorMsg, &errorLine, &errorCol)) {
|
||||||
qCCritical(lcUpdater).noquote().nospace() << errorMsg << " at " << errorLine << "," << errorCol
|
qCWarning(lcUpdater).noquote().nospace() << errorMsg << " at " << errorLine << "," << errorCol
|
||||||
<< "\n" << xml.splitRef("\n").value(errorLine-1) << "\n"
|
<< "\n" << xml.splitRef("\n").value(errorLine-1) << "\n"
|
||||||
<< QString(" ").repeated(errorCol - 1) << "^\n"
|
<< QString(" ").repeated(errorCol - 1) << "^\n"
|
||||||
<< "->" << xml << "<-";
|
<< "->" << xml << "<-";
|
||||||
|
|
Loading…
Reference in a new issue