diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2016-05-11 17:42:24 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2016-05-27 20:03:42 +0900 |
commit | 40195a814673fb8557a8b9c67a0f4d61191eb34e (patch) | |
tree | 63298e9530b4dfdc2ab58e1f3e8e265521b413ad /jobs/postmessagejob.cpp | |
parent | 028ed5afc18209064002c9f6aa34e08a228d471f (diff) | |
download | libquotient-40195a814673fb8557a8b9c67a0f4d61191eb34e.tar.gz libquotient-40195a814673fb8557a8b9c67a0f4d61191eb34e.zip |
Set the object name for each job, to make it clear which job has failed
And we don't need two log lines for timeouts.
Diffstat (limited to 'jobs/postmessagejob.cpp')
-rw-r--r-- | jobs/postmessagejob.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/postmessagejob.cpp b/jobs/postmessagejob.cpp index 67c79669..65042ed0 100644 --- a/jobs/postmessagejob.cpp +++ b/jobs/postmessagejob.cpp @@ -35,7 +35,7 @@ class PostMessageJob::Private }; PostMessageJob::PostMessageJob(ConnectionData* connection, Room* room, QString type, QString message) - : BaseJob(connection, JobHttpType::PostJob) + : BaseJob(connection, JobHttpType::PostJob, "PostMessageJob") , d(new Private) { d->type = type; @@ -71,4 +71,4 @@ void PostMessageJob::parseJson(const QJsonDocument& data) return; } emitResult(); -}
\ No newline at end of file +} |