From 64ad336d28823bb4516a721afc89d10d9c7fb4e9 Mon Sep 17 00:00:00 2001 From: Merissa Weinstein Date: Tue, 9 Jul 2024 15:06:36 -0500 Subject: [PATCH] remove erorr console log and add error toast (#10018) --- .../src/admin-console/components/collections.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/angular/src/admin-console/components/collections.component.ts b/libs/angular/src/admin-console/components/collections.component.ts index 445727ac61..f490fa51b6 100644 --- a/libs/angular/src/admin-console/components/collections.component.ts +++ b/libs/angular/src/admin-console/components/collections.component.ts @@ -100,7 +100,7 @@ export class CollectionsComponent implements OnInit { this.platformUtilsService.showToast("success", null, this.i18nService.t("editedItem")); return true; } catch (e) { - this.logService.error(e); + this.platformUtilsService.showToast("error", this.i18nService.t("errorOccurred"), e.message); return false; } }