Browse Source

Log trace when sync is called

Vishnu Mohandas 4 years ago
parent
commit
67e60606ea
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/services/sync_service.dart

+ 1 - 0
lib/services/sync_service.dart

@@ -139,6 +139,7 @@ class SyncService {
   }
 
   Future<void> _doSync({bool isAppInBackground = false}) async {
+    _logger.info("Doing sync", Error(), StackTrace.current);
     final existingLocalFileIDs = await _db.getExistingLocalFileIDs();
     final syncStartTime = DateTime.now().microsecondsSinceEpoch;
     if (isAppInBackground) {