You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2026-05-22 09:05:38 +02:00
Started support for onedrive tests
This commit is contained in:
@@ -245,7 +245,11 @@ class JoplinDatabase extends Database {
|
||||
// Will throw if the database has not been created yet, but this is handled below
|
||||
versionRow = await this.selectOne('SELECT * FROM version LIMIT 1');
|
||||
} catch (error) {
|
||||
console.info(error);
|
||||
if (error.message && (error.message.indexOf('no such table: version') >= 0)) {
|
||||
// Ignore
|
||||
} else {
|
||||
console.info(error);
|
||||
}
|
||||
}
|
||||
|
||||
const version = !versionRow ? 0 : versionRow.version;
|
||||
|
||||
Reference in New Issue
Block a user