aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/jobs/syncjob.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/jobs/syncjob.cpp b/lib/jobs/syncjob.cpp
index ef9b45dd..ac0f6685 100644
--- a/lib/jobs/syncjob.cpp
+++ b/lib/jobs/syncjob.cpp
@@ -46,11 +46,10 @@ BaseJob::Status SyncJob::parseJson(const QJsonDocument& data)
{
d.parseJson(data.object());
if (d.unresolvedRooms().isEmpty())
- {
- qCCritical(MAIN) << "Incomplete sync response, missing rooms:"
- << d.unresolvedRooms().join(',');
- return BaseJob::IncorrectResponseError;
- }
- return BaseJob::Success;
+ return BaseJob::Success;
+
+ qCCritical(MAIN).noquote() << "Incomplete sync response, missing rooms:"
+ << d.unresolvedRooms().join(',');
+ return BaseJob::IncorrectResponseError;
}