Skip to content

Commit

Permalink
Do not silence error message for query. (#2396)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkyryliuk authored Mar 14, 2017
1 parent 6160a3f commit 562b4f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset/viz.py
Original file line number Diff line number Diff line change
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 562b4f0

Please sign in to comment.