diff options
Diffstat (limited to 'client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts')
-rw-r--r-- | client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts b/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts index 369692715..7bcfdd8aa 100644 --- a/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts +++ b/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts | |||
@@ -1,6 +1,7 @@ | |||
1 | import { Component, Input, OnInit } from '@angular/core' | 1 | import { Component, Input, OnInit } from '@angular/core' |
2 | import { Notifier } from '@app/core' | 2 | import { Notifier } from '@app/core' |
3 | import { FormReactive, FormValidatorService } from '@app/shared/shared-forms' | 3 | import { FormReactive, FormValidatorService } from '@app/shared/shared-forms' |
4 | import { logger } from '@root-helpers/logger' | ||
4 | import { USER_HANDLE_VALIDATOR } from '../form-validators/user-validators' | 5 | import { USER_HANDLE_VALIDATOR } from '../form-validators/user-validators' |
5 | 6 | ||
6 | @Component({ | 7 | @Component({ |
@@ -59,7 +60,7 @@ export class RemoteSubscribeComponent extends FormReactive implements OnInit { | |||
59 | }) | 60 | }) |
60 | .then(window.open) | 61 | .then(window.open) |
61 | .catch(err => { | 62 | .catch(err => { |
62 | console.error(err) | 63 | logger.error(err) |
63 | 64 | ||
64 | this.notifier.error($localize`Cannot fetch information of this remote account`) | 65 | this.notifier.error($localize`Cannot fetch information of this remote account`) |
65 | }) | 66 | }) |