Skip to content

Commit

Permalink
chore: downgrade expected exception from error to info (#10994)
Browse files Browse the repository at this point in the history
* chore: reduce number of error logs

* info -> warning
  • Loading branch information
nytai authored Sep 23, 2020
1 parent 02ab5cc commit 50852df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/datasets/dao.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def validate_table_exists(database: Database, table_name: str, schema: str) -> b
database.get_table(table_name, schema=schema)
return True
except SQLAlchemyError as ex: # pragma: no cover
logger.error("Got an error %s validating table: %s", str(ex), table_name)
logger.warning("Got an error %s validating table: %s", str(ex), table_name)
return False

@staticmethod
Expand Down

0 comments on commit 50852df

Please # to comment.