소스 검색

Log trace when sync is called

Vishnu Mohandas 4 년 전
부모
커밋
67e60606ea
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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) {