diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-30 15:56:55 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-30 15:56:55 +0200 |
commit | fc9fc62b3bc8ce77ee5e48dbcd7bf75bd9711ed6 (patch) | |
tree | 839feeb74e406bd3e784a6bede4a27fef3c58539 /common/synchronizer.cpp | |
parent | 25e58e7644144c21287a8dc857af042bc3c933b9 (diff) | |
download | sink-fc9fc62b3bc8ce77ee5e48dbcd7bf75bd9711ed6.tar.gz sink-fc9fc62b3bc8ce77ee5e48dbcd7bf75bd9711ed6.zip |
Mailtransport notifications
Diffstat (limited to 'common/synchronizer.cpp')
-rw-r--r-- | common/synchronizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/synchronizer.cpp b/common/synchronizer.cpp index e004d64..900c6d5 100644 --- a/common/synchronizer.cpp +++ b/common/synchronizer.cpp | |||
@@ -341,7 +341,7 @@ KAsync::Job<void> Synchronizer::processRequest(const SyncRequest &request) | |||
341 | }).then<void>([this, request](const KAsync::Error &error) { | 341 | }).then<void>([this, request](const KAsync::Error &error) { |
342 | if (error) { | 342 | if (error) { |
343 | //Emit notification with error | 343 | //Emit notification with error |
344 | SinkWarningCtx(mLogCtx) << "Synchronization failed: " << error.errorMessage; | 344 | SinkWarningCtx(mLogCtx) << "Synchronization failed: " << error; |
345 | if (error.errorCode == ApplicationDomain::ConnectionError) { | 345 | if (error.errorCode == ApplicationDomain::ConnectionError) { |
346 | emitNotification(Notification::Status, ApplicationDomain::OfflineStatus, "Synchronization has ended.", request.requestId); | 346 | emitNotification(Notification::Status, ApplicationDomain::OfflineStatus, "Synchronization has ended.", request.requestId); |
347 | } else { | 347 | } else { |