Do not show toast for failed queries (#916)

* Do not show error toast when query or transformation fails

* Show error toast for transformation failure
This commit is contained in:
Sherfin Shamsudeen 2021-10-06 18:53:37 +05:30 committed by GitHub
parent 53f510796f
commit a980cbcb34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(
{