Send in error message (#1449)

This commit is contained in:
Justin Baur 2022-02-07 16:15:49 -05:00 committed by GitHub
parent 6779adb064
commit 64416c9406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}