diff --git a/frontend/src/metabase/dashboard/dashboard.js b/frontend/src/metabase/dashboard/dashboard.js index 6697ad1335bdd8297181d326bf03c2b624f6a95f..19de4d3317cb4e3e4353e1c417fb4593068be86a 100644 --- a/frontend/src/metabase/dashboard/dashboard.js +++ b/frontend/src/metabase/dashboard/dashboard.js @@ -157,8 +157,7 @@ export const fetchCardData = createThunkAction(FETCH_CARD_DATA, function(card, d result = await MetabaseApi.dataset(datasetQuery); } catch (error) { - clearTimeout(slowCardTimer); - return { dashcard_id: dashcard.id, card_id: card.id, result: { error } }; + result = { error }; } clearTimeout(slowCardTimer);