From 414a3f5e4a33226d68a7be2dd52c82c81e655631 Mon Sep 17 00:00:00 2001 From: fyears Date: Sat, 1 Jan 2022 00:56:32 +0800 Subject: [PATCH] more notice for error --- src/main.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.ts b/src/main.ts index d102c46..7a0868f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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