[mob][photos] Add more info in error message
This commit is contained in:
parent
a470ed4dfa
commit
a79d11c263
|
@ -167,7 +167,9 @@ class FilesDB {
|
||||||
await tx.execute('PRAGMA user_version = $toVersion');
|
await tx.execute('PRAGMA user_version = $toVersion');
|
||||||
});
|
});
|
||||||
} else if (currentVersion > toVersion) {
|
} else if (currentVersion > toVersion) {
|
||||||
throw AssertionError("currentVersion cannot be greater than toVersion");
|
throw AssertionError(
|
||||||
|
"currentVersion($currentVersion) cannot be greater than toVersion($toVersion)",
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue