improve logs when adding sync errors in activity list of main dialog
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Tue, 11 Oct 2022 13:59:45 +0000 (15:59 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Wed, 12 Oct 2022 06:25:45 +0000 (08:25 +0200)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/gui/tray/activitylistmodel.cpp

index de4d79c026307707e108cbbcb2ab6adbb85cbc70..fc6df208f5118701b0b73a1aa4eeae7750b4a7d7 100644 (file)
@@ -547,7 +547,7 @@ void ActivityListModel::addEntriesToActivityList(const ActivityList &activityLis
 
 void ActivityListModel::addErrorToActivityList(const Activity &activity)
 {
-    qCInfo(lcActivity) << "Error successfully added to the notification list: " << activity._subject;
+    qCInfo(lcActivity) << "Error successfully added to the notification list: " << activity._message << activity._subject;
     addEntriesToActivityList({activity});
     _notificationErrorsLists.prepend(activity);
 }