diff options
author | Jocelyn Turcotte <jturcotte@woboq.com> | 2017-03-30 14:46:20 +0300 |
---|---|---|
committer | Jocelyn Turcotte <jturcotte@woboq.com> | 2017-05-11 18:22:59 +0300 |
commit | b7553d5bdf3aecf6fd860dfcd76d980fc32af600 (patch) | |
tree | 1493202ce72b8780c5c303e289a8d1d637120f87 /src/gui/ocsjob.cpp | |
parent | 4ad190a558c64aac846dc828438acdec5fe9c6ed (diff) |
Upgrade some qCDebug to qCInfo or qCWarning
Use qCInfo for anything that has general value for support and
development. Use qCWarning for any recoverable error and qCCritical
for anything that could result in data loss or would identify a serious
issue with the code.
Issue #5647
Diffstat (limited to 'src/gui/ocsjob.cpp')
-rw-r--r-- | src/gui/ocsjob.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/ocsjob.cpp b/src/gui/ocsjob.cpp index 897ec1c64..3ce974169 100644 --- a/src/gui/ocsjob.cpp +++ b/src/gui/ocsjob.cpp @@ -107,7 +107,7 @@ bool OcsJob::finished() QJsonParseError error; auto json = QJsonDocument::fromJson(replyData, &error); if (error.error != QJsonParseError::NoError) { - qCDebug(lcOcs) << "Could not parse reply to" + qCWarning(lcOcs) << "Could not parse reply to" << _verb << Utility::concatUrlPath(account()->url(), path()) << _params @@ -118,7 +118,7 @@ bool OcsJob::finished() QString message; const int statusCode = getJsonReturnCode(json, message); if (!_passStatusCodes.contains(statusCode)) { - qCDebug(lcOcs) << "Reply to" + qCWarning(lcOcs) << "Reply to" << _verb << Utility::concatUrlPath(account()->url(), path()) << _params |