fix error msg

This commit is contained in:
fyears 2021-11-07 00:07:10 +08:00
parent 887f948dc3
commit 3a14f86880

View File

@ -120,12 +120,12 @@ export default class SaveRemotePlugin extends Plugin {
this.syncStatus = "finish"; this.syncStatus = "finish";
this.syncStatus = "idle"; this.syncStatus = "idle";
} catch (error) { } catch (error) {
this.syncStatus = "idle";
const msg = `Save Remote error while ${this.syncStatus}`; const msg = `Save Remote error while ${this.syncStatus}`;
console.log(msg); console.log(msg);
console.log(error); console.log(error);
new Notice(msg); new Notice(msg);
new Notice(error); new Notice(error);
this.syncStatus = "idle";
} }
}); });