You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/04/12 21:26:49 UTC

[GitHub] [superset] hughhhh commented on a change in pull request #14088: chore: stop logging `SupersetExceptions` if status < 500

hughhhh commented on a change in pull request #14088:
URL: https://github.com/apache/superset/pull/14088#discussion_r611965413



##########
File path: superset/views/base.py
##########
@@ -198,7 +198,8 @@ def wraps(self: "BaseSupersetView", *args: Any, **kwargs: Any) -> FlaskResponse:
             logger.warning(ex)
             return json_errors_response(errors=[ex.error], status=ex.status)
         except SupersetException as ex:
-            logger.exception(ex)
+            if ex.status > 500:

Review comment:
       oops




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org