more clear notice

This commit is contained in:
fyears 2021-11-09 10:00:14 +08:00
parent ea12a14d7f
commit b26d6a7ffb

View File

@ -105,6 +105,7 @@ export default class SaveRemotePlugin extends Plugin {
this.settings.password
);
if (!passwordCheckResult.ok) {
new Notice("something goes wrong while checking password");
throw Error(passwordCheckResult.reason);
}