chore: downgrade expected exception from error to info (#10994)

* chore: reduce number of error logs

* info -> warning
This commit is contained in:
ʈᵃᵢ 2020-09-23 04:05:44 -07:00 committed by GitHub
parent 02ab5cc644
commit 50852dfbbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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