mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
checkForUpdatesAndNotify catch error
This commit is contained in:
parent
dc99c88adf
commit
f348a24a5c
1 changed files with 4 additions and 1 deletions
|
@ -622,7 +622,10 @@ function checkUpdate (auto) {
|
|||
return;
|
||||
};
|
||||
|
||||
autoUpdater.checkForUpdatesAndNotify();
|
||||
autoUpdater.checkForUpdatesAndNotify().catch((err) => {
|
||||
Util.log('info', 'checkForUpdatesAndNotify error: ' + err);
|
||||
});
|
||||
|
||||
clearTimeout(timeoutUpdate);
|
||||
timeoutUpdate = setTimeout(() => { checkUpdate(true); }, TIMEOUT_UPDATE);
|
||||
autoUpdate = auto;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue