[mob][photos] Add more info in error message

This commit is contained in:
ashilkn 2024-05-24 14:43:39 +05:30
parent a470ed4dfa
commit a79d11c263

View file

@ -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)",
);
}
}