[mob][photos] Add more info in error message
This commit is contained in:
parent
a470ed4dfa
commit
a79d11c263
1 changed files with 3 additions and 1 deletions
|
@ -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)",
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue