Don't scare users with critical parser log messages
authorHannah von Reth <hannah.vonreth@owncloud.com>
Fri, 2 Oct 2020 12:25:19 +0000 (14:25 +0200)
committerCamila (Rebase PR Action) <hello@camila.codes>
Tue, 24 Nov 2020 18:22:33 +0000 (18:22 +0000)
src/gui/updater/updateinfo.cpp

index 176df1ec27802b1a2931d4bb3bd13a111346cf5a..5b6090ddc69058526cef63a50d8e9c63eafbd09d 100644 (file)
@@ -88,7 +88,7 @@ UpdateInfo UpdateInfo::parseString(const QString &xml, bool *ok)
     int errorLine = 0, errorCol = 0;
     QDomDocument doc;
     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"
                                 << QString(" ").repeated(errorCol - 1) << "^\n"
                                 << "->" << xml << "<-";