You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by dp...@apache.org on 2020/09/23 11:06:20 UTC

[incubator-superset] branch master updated: chore: downgrade expected exception from error to info (#10994)

This is an automated email from the ASF dual-hosted git repository.

dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 50852df  chore: downgrade expected exception from error to info (#10994)
50852df is described below

commit 50852dfbbfe7f7208bea09324cb2c1794295e1bb
Author: ʈᵃᵢ <td...@gmail.com>
AuthorDate: Wed Sep 23 04:05:44 2020 -0700

    chore: downgrade expected exception from error to info (#10994)
    
    * chore: reduce number of error logs
    
    * info -> warning
---
 superset/datasets/dao.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/datasets/dao.py b/superset/datasets/dao.py
index b5c278c..2f416db 100644
--- a/superset/datasets/dao.py
+++ b/superset/datasets/dao.py
@@ -79,7 +79,7 @@ class DatasetDAO(BaseDAO):
             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