diff --git a/client/app/pages/dashboards/public-dashboard-page.js b/client/app/pages/dashboards/public-dashboard-page.js index 706b058b67..aaaaf17a57 100644 --- a/client/app/pages/dashboards/public-dashboard-page.js +++ b/client/app/pages/dashboards/public-dashboard-page.js @@ -1,3 +1,4 @@ +import PromiseRejectionError from '@/lib/promise-rejection-error'; import logoUrl from '@/assets/images/redash_icon_small.png'; import template from './public-dashboard-page.html'; import dashboardGridOptions from '@/config/dashboard-grid-options'; @@ -52,6 +53,8 @@ const PublicDashboardPage = { }; this.extractGlobalParameters(); + }).catch((error) => { + throw new PromiseRejectionError(error); }); if (refreshRate) {