From 58bab220cd073298753bc0b4f0f8f442f02035b8 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Tue, 5 Mar 2019 20:27:45 -0500 Subject: [PATCH] better error wording --- .../add-new-account/add-new-account.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/floating-column/add-new-account/add-new-account.component.ts b/src/app/components/floating-column/add-new-account/add-new-account.component.ts index e1f66917..a90b1b2e 100644 --- a/src/app/components/floating-column/add-new-account/add-new-account.component.ts +++ b/src/app/components/floating-column/add-new-account/add-new-account.component.ts @@ -37,7 +37,7 @@ export class AddNewAccountComponent implements OnInit { if (err instanceof HttpErrorResponse) { this.notificationService.notifyHttpError(err); } else if ((err).message === 'CORS'){ - this.notificationService.notify('There is maybe a CORS issue with the server you\'re connecting to. Please check in the console and if so, contact your administrator with those informations.', true); + this.notificationService.notify('Connection Error. It\'s usually a CORS issue with the server you\'re connecting to. Please check in the console and if so, contact your administrator with those informations.', true); } else { this.notificationService.notify('Unkown error', true); }