mirror of https://github.com/keeweb/keeweb.git
prevent promise rejection, we don't care about it here
This commit is contained in:
parent
0e63e955ce
commit
688e363c89
|
@ -251,7 +251,7 @@ const StorageOneDrive = StorageBase.extend({
|
|||
const script =
|
||||
`const selector = '[role="button"][aria-describedby="tileError loginHeader"]';
|
||||
if (document.querySelectorAll(selector).length === 1) document.querySelector(selector).click()`;
|
||||
webContents.executeJavaScript(script);
|
||||
webContents.executeJavaScript(script).catch(() => {});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue