mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
Do not silence error message for query. (#2396)
This commit is contained in:
parent
6160a3fdff
commit
562b4f0415
@ -119,7 +119,8 @@ class BaseViz(object):
|
||||
# parsing logic.
|
||||
if df is None or df.empty:
|
||||
self.status = utils.QueryStatus.FAILED
|
||||
self.error_message = "No data."
|
||||
if not self.error_message:
|
||||
self.error_message = "No data."
|
||||
return pd.DataFrame()
|
||||
else:
|
||||
if DTTM_ALIAS in df.columns:
|
||||
|
Loading…
Reference in New Issue
Block a user