From 37224f85f5efb8518f0a9e1bcec65d53fbcc6ac5 Mon Sep 17 00:00:00 2001 From: souheil-yazji Date: Mon, 10 Jul 2023 20:09:22 +0000 Subject: [PATCH] feat(contrib-err): log error --- .../public/components/manage-users-view-contributor.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/centraldashboard/public/components/manage-users-view-contributor.js b/components/centraldashboard/public/components/manage-users-view-contributor.js index 4a24df1b333..93ed5bfcc76 100644 --- a/components/centraldashboard/public/components/manage-users-view-contributor.js +++ b/components/centraldashboard/public/components/manage-users-view-contributor.js @@ -80,7 +80,9 @@ export class ManageUsersViewContributor extends utilitiesMixin(localizationMixin */ handleContribCreate(e) { if (e.detail.error) { - // const error = this._isolateErrorFromIronRequest(e); + const error = this._isolateErrorFromIronRequest(e); + // eslint-disable-next-line no-console + console.log(error); this.contribCreateError = 'manageUsersViewContributor.errorCreateGeneral'; return;