mirror of
https://github.com/bitwarden/web
synced 2025-12-15 07:43:16 +00:00
Remove empty catch blocks, and update tslint rule (#1226)
This commit is contained in:
@@ -9,6 +9,7 @@ import { ToasterService } from 'angular2-toaster';
|
||||
|
||||
import { ApiService } from 'jslib-common/abstractions/api.service';
|
||||
import { I18nService } from 'jslib-common/abstractions/i18n.service';
|
||||
import { LogService } from 'jslib-common/abstractions/log.service';
|
||||
import { MessagingService } from 'jslib-common/abstractions/messaging.service';
|
||||
import { PlatformUtilsService } from 'jslib-common/abstractions/platformUtils.service';
|
||||
import { SyncService } from 'jslib-common/abstractions/sync.service';
|
||||
@@ -38,7 +39,7 @@ export class PremiumComponent implements OnInit {
|
||||
private toasterService: ToasterService, platformUtilsService: PlatformUtilsService,
|
||||
private tokenService: TokenService, private router: Router,
|
||||
private messagingService: MessagingService, private syncService: SyncService,
|
||||
private userService: UserService) {
|
||||
private userService: UserService, private logService: LogService) {
|
||||
this.selfHosted = platformUtilsService.isSelfHost();
|
||||
}
|
||||
|
||||
@@ -97,7 +98,9 @@ export class PremiumComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
await this.formPromise;
|
||||
} catch { }
|
||||
} catch (e) {
|
||||
this.logService.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
async finalizePremium() {
|
||||
|
||||
Reference in New Issue
Block a user