From 64416c94062da06560305098132341ae56729418 Mon Sep 17 00:00:00 2001 From: Justin Baur Date: Mon, 7 Feb 2022 16:15:49 -0500 Subject: [PATCH] Send in error message (#1449) --- src/app/organizations/manage/policy-edit.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/organizations/manage/policy-edit.component.ts b/src/app/organizations/manage/policy-edit.component.ts index 8a486571720..ecac7b950bc 100644 --- a/src/app/organizations/manage/policy-edit.component.ts +++ b/src/app/organizations/manage/policy-edit.component.ts @@ -83,7 +83,7 @@ export class PolicyEditComponent { try { request = await this.policyComponent.buildRequest(this.policiesEnabledMap); } catch (e) { - this.platformUtilsService.showToast("error", null, e); + this.platformUtilsService.showToast("error", null, e.message); return; }