This is an automated email from the ASF dual-hosted git repository.
erikrit 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 6f1208f fixes: limit no authorization error for sentry (#9816)
6f1208f is described below
commit 6f1208f510ceda24654dca794cf04a33aa234cc5
Author: Lily Kuang <[email protected]>
AuthorDate: Wed May 20 08:48:32 2020 -0700
fixes: limit no authorization error for sentry (#9816)
* rescue no authorization error
* update no authorization exception to warning
---
superset/views/base.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/views/base.py b/superset/views/base.py
index def1ffa..af73b65 100644
--- a/superset/views/base.py
+++ b/superset/views/base.py
@@ -159,7 +159,7 @@ def handle_api_exception(f):
try:
return f(self, *args, **kwargs)
except SupersetSecurityException as ex:
- logger.exception(ex)
+ logger.warning(ex)
return json_errors_response(
errors=[ex.error], status=ex.status, payload=ex.payload
)