more notice for error

This commit is contained in:
fyears 2022-01-01 00:56:32 +08:00
parent 02e5f9b5a0
commit 414a3f5e4a

View File

@ -167,6 +167,9 @@ export default class RemotelySavePlugin extends Plugin {
);
this.oauth2Info.revokeDiv = undefined;
} else {
new Notice(
"Something went wrong from response from OneDrive. Maybe you rejected the auth?"
);
throw Error(
`do not know how to deal with the callback: ${JSON.stringify(
inputParams