From a79d11c2636b2cbe09d166e3b80491b962695f61 Mon Sep 17 00:00:00 2001 From: ashilkn Date: Fri, 24 May 2024 14:43:39 +0530 Subject: [PATCH] [mob][photos] Add more info in error message --- mobile/lib/db/files_db.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mobile/lib/db/files_db.dart b/mobile/lib/db/files_db.dart index b7c67ff36..c6ba617e0 100644 --- a/mobile/lib/db/files_db.dart +++ b/mobile/lib/db/files_db.dart @@ -167,7 +167,9 @@ class FilesDB { await tx.execute('PRAGMA user_version = $toVersion'); }); } else if (currentVersion > toVersion) { - throw AssertionError("currentVersion cannot be greater than toVersion"); + throw AssertionError( + "currentVersion($currentVersion) cannot be greater than toVersion($toVersion)", + ); } }