diff --git a/dashboards-reports/public/components/main/report_definition_details/report_definition_details.tsx b/dashboards-reports/public/components/main/report_definition_details/report_definition_details.tsx index 35875e47..3498e197 100644 --- a/dashboards-reports/public/components/main/report_definition_details/report_definition_details.tsx +++ b/dashboards-reports/public/components/main/report_definition_details/report_definition_details.tsx @@ -497,6 +497,9 @@ export function ReportDefinitionDetails(props: { match?: any; setBreadcrumbs?: a setChannels(availableChannels); return availableChannels; }) + .catch((error: any) => { + console.log('error when retrieving notification configs:', error); + }) .then((availableChannels: any) => { httpClient .get(`../api/reporting/reportDefinitions/${reportDefinitionId}`) diff --git a/dashboards-reports/public/components/main/report_details/report_details.tsx b/dashboards-reports/public/components/main/report_details/report_details.tsx index 3fc01585..fe8551b7 100644 --- a/dashboards-reports/public/components/main/report_details/report_details.tsx +++ b/dashboards-reports/public/components/main/report_details/report_details.tsx @@ -295,6 +295,9 @@ export function ReportDetails(props: { match?: any; setBreadcrumbs?: any; httpCl let availableChannels = getAvailableNotificationsChannels(response.config_list); return availableChannels; }) + .catch((error: any) => { + console.log('error when retrieving notification configs:', error); + }) .then((availableChannels: any) => { httpClient .get('../api/reporting/reports/' + reportId)