print sync direction in SyncFileStatusTracker::slotAboutToPropagate
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Tue, 28 Jun 2022 12:29:53 +0000 (14:29 +0200)
committerClaudio Cambra <claudio.cambra@gmail.com>
Wed, 20 Jul 2022 12:17:49 +0000 (14:17 +0200)
will avoid having to look up this information in other log parts

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/libsync/syncfilestatustracker.cpp

index 9c4ae0e8ca886f3bbfe836a42ea39ffa9c894855..7d03fba32e354b8d85cb967e23b7cf2f3adb5ef1 100644 (file)
@@ -226,7 +226,7 @@ void SyncFileStatusTracker::slotAboutToPropagate(SyncFileItemVector &items)
     std::swap(_syncProblems, oldProblems);
 
     foreach (const SyncFileItemPtr &item, items) {
-        qCDebug(lcStatusTracker) << "Investigating" << item->destination() << item->_status << item->_instruction;
+        qCDebug(lcStatusTracker) << "Investigating" << item->destination() << item->_status << item->_instruction << item->_direction;
         _dirtyPaths.remove(item->destination());
 
         if (hasErrorStatus(*item)) {