mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -04:00
chore: downgrade expected exception from error to info (#10994)
* chore: reduce number of error logs * info -> warning
This commit is contained in:
parent
02ab5cc644
commit
50852dfbbf
@ -79,7 +79,7 @@ class DatasetDAO(BaseDAO):
|
|||||||
database.get_table(table_name, schema=schema)
|
database.get_table(table_name, schema=schema)
|
||||||
return True
|
return True
|
||||||
except SQLAlchemyError as ex: # pragma: no cover
|
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
|
return False
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user