add comment on why checkSubscription
This commit is contained in:
+1
-1
@@ -207,7 +207,7 @@ async function restoreTask(backupSite, remotePath, ipv4Config, ipv6Config, optio
|
||||
|
||||
await eventlog.add(eventlog.ACTION_RESTORE, auditSource, { remotePath });
|
||||
|
||||
await appstore.checkSubscription();
|
||||
await appstore.checkSubscription(); // never throws. worst case, user has to visit the Account view to refresh subscription info
|
||||
|
||||
setImmediate(() => safe(platform.onActivated({ backupSite, skipDnsSetup: options.skipDnsSetup }), { debug }));
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user