Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* BugFix(apache#3658)

rollback to old version

* Update views.py
  • Loading branch information
hidetoshiito authored and timifasubaa committed May 31, 2018
1 parent 2a5d881 commit c28be22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion superset/connectors/sqla/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,9 @@ def pre_add(self, table):
get_datasource_exist_error_mgs(table.full_name))

# Fail before adding if the table can't be found
if not table.database.has_table(table):
try:
table.get_sqla_table_object()
except Exception:
raise Exception(_(
'Table [{}] could not be found, '
'please double check your '
Expand Down

0 comments on commit c28be22

Please sign in to comment.