mirror of
https://github.com/remotely-save/remotely-save.git
synced 2024-06-07 21:10:45 +00:00
more log
This commit is contained in:
parent
bcca2b4446
commit
f334198241
@ -86,6 +86,7 @@ export default class SaveRemotePlugin extends Plugin {
|
||||
// console.log(localHistory);
|
||||
|
||||
new Notice("4/6 Starting to generate sync plan.");
|
||||
this.syncStatus = "generating_plan";
|
||||
const mixedStates = await ensembleMixedStates(
|
||||
remoteRsp.Contents,
|
||||
local,
|
||||
@ -116,10 +117,15 @@ export default class SaveRemotePlugin extends Plugin {
|
||||
);
|
||||
|
||||
new Notice("6/6 Save Remote finish!");
|
||||
this.syncStatus = "finish";
|
||||
this.syncStatus = "idle";
|
||||
} catch (error) {
|
||||
new Notice(`Save Remote error while ${this.syncStatus}: ${error}`);
|
||||
this.syncStatus = "idle";
|
||||
const msg = `Save Remote error while ${this.syncStatus}`;
|
||||
console.log(msg);
|
||||
console.log(error);
|
||||
new Notice(msg);
|
||||
new Notice(error);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user