Update logging
This commit is contained in:
parent
eef26ffebd
commit
f715e17e3d
1 changed files with 1 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue