1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00

allow sync to throw error

This commit is contained in:
Kyle Spearrin 2019-10-15 11:07:08 -04:00
parent eba9927016
commit ee7fa795a9
2 changed files with 2 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit e35431f3742bb9ab0820204b7823a5f4f6dd35b7 Subproject commit 669f6ddf93bbfe8acd18a4834fff5e1c7f9c91ba

View File

@ -117,7 +117,7 @@ export class VaultComponent implements OnInit, OnDestroy {
break; break;
case 'syncVault': case 'syncVault':
try { try {
await this.syncService.fullSync(true); await this.syncService.fullSync(true, true);
this.toasterService.popAsync('success', null, this.i18nService.t('syncingComplete')); this.toasterService.popAsync('success', null, this.i18nService.t('syncingComplete'));
this.analytics.eventTrack.next({ action: 'Synced Full' }); this.analytics.eventTrack.next({ action: 'Synced Full' });
} catch { } catch {