瀏覽代碼

Update logging

Vishnu Mohandas 5 年之前
父節點
當前提交
f715e17e3d
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      lib/db/photo_db.dart

+ 1 - 2
lib/db/photo_db.dart

@@ -237,7 +237,6 @@ class PhotoDB {
   }
 
   Future<Photo> getLatestPhotoInRemoteFolder(int folderId) async {
-    _logger.info("Querying for folder: " + folderId.toString());
     final db = await instance.database;
     var rows = await db.query(
       table,
@@ -249,7 +248,7 @@ class PhotoDB {
     if (rows.isNotEmpty) {
       return _getPhotoFromRow(rows[0]);
     } else {
-      throw ("No photo found in remote folder");
+      throw ("No photo found in remote folder " + folderId.toString());
     }
   }