Log fallback result
authorHannah von Reth <hannah.vonreth@owncloud.com>
Tue, 2 Mar 2021 09:58:07 +0000 (10:58 +0100)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 23 Aug 2021 07:44:34 +0000 (09:44 +0200)
src/libsync/filesystem.cpp

index 7c4f5b626108c2994847829fd603ef7f628eeab3..5c6cd4610061ecf21e9b2521d5ba0c9f34d371b3 100644 (file)
@@ -63,9 +63,9 @@ time_t FileSystem::getModTime(const QString &filename)
         && (stat.modtime != 0)) {
         result = stat.modtime;
     } else {
-        qCWarning(lcFileSystem) << "Could not get modification time for" << filename
-                                << "with csync, using QFileInfo";
         result = Utility::qDateTimeToTime_t(QFileInfo(filename).lastModified());
+        qCWarning(lcFileSystem) << "Could not get modification time for" << filename
+                                << "with csync, using QFileInfo:" << result;
     }
     return result;
 }