fix error msg
This commit is contained in:
parent
887f948dc3
commit
3a14f86880
@ -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";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user