Skip to content

Commit

Permalink
Do not silence error message for query.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Kyryliuk committed Mar 14, 2017
1 parent 6160a3f commit 3e48a0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset/viz.py
Expand Up @@ -119,7 +119,8 @@ def get_df(self, query_obj=None):
# 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:
Expand Down

0 comments on commit 3e48a0c

Please sign in to comment.