From a980cbcb34b1740f792aa53640946d0cf3c5f0d9 Mon Sep 17 00:00:00 2001 From: Sherfin Shamsudeen Date: Wed, 6 Oct 2021 18:53:37 +0530 Subject: [PATCH] Do not show toast for failed queries (#916) * Do not show error toast when query or transformation fails * Show error toast for transformation failure --- frontend/src/_helpers/appUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/_helpers/appUtils.js b/frontend/src/_helpers/appUtils.js index c9ae6f489c..b2a86b028a 100644 --- a/frontend/src/_helpers/appUtils.js +++ b/frontend/src/_helpers/appUtils.js @@ -416,7 +416,7 @@ export function runQuery(_ref, queryId, queryName, confirmed = undefined) { } if (data.status === 'failed') { - toast.error(data.message, { hideProgressBar: true, autoClose: 3000 }); + console.error(data.message); return _self.setState( {