1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

All: Added error message for OneDrive for Business

This commit is contained in:
Laurent Cozic
2017-12-01 17:47:18 +00:00
parent 65739a5077
commit fe909f659d
3 changed files with 28 additions and 2 deletions

View File

@ -274,6 +274,7 @@ async function initialize(dispatch, backButtonHandler) {
mainLogger.setLevel(Logger.LEVEL_DEBUG);
reg.setLogger(mainLogger);
reg.setShowErrorMessageBoxHandler((message) => { alert(message) });
reg.logger().info('====================================');
reg.logger().info('Starting application ' + Setting.value('appId') + ' (' + Setting.value('env') + ')');
@ -310,7 +311,7 @@ async function initialize(dispatch, backButtonHandler) {
if (Setting.value('env') == 'prod') {
await db.open({ name: 'joplin.sqlite' })
} else {
await db.open({ name: 'joplin-67.sqlite' })
await db.open({ name: 'joplin-68.sqlite' })
//await db.open({ name: 'joplin-67.sqlite' })
// await db.exec('DELETE FROM notes');