nytai commented on a change in pull request #14036:
URL: https://github.com/apache/superset/pull/14036#discussion_r610175424
##########
File path: superset/views/base.py
##########
@@ -166,6 +167,9 @@ def api(f: Callable[..., FlaskResponse]) -> Callable[...,
FlaskResponse]:
def wraps(self: "BaseSupersetView", *args: Any, **kwargs: Any) ->
FlaskResponse:
try:
return f(self, *args, **kwargs)
+ except NoAuthorizationError as ex: # pylint: disable=broad-except
+ logger.exception(ex)
Review comment:
+1, lets just log as a warning since this isn't really actionable
--
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]