From b7650b9f5717a6d543c8cf6a94573f875e25d407 Mon Sep 17 00:00:00 2001 From: Daniel Vaz Gaspar Date: Tue, 11 Aug 2020 18:20:57 +0100 Subject: [PATCH] fix: disable false positive error (#10576) --- superset/utils/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/utils/decorators.py b/superset/utils/decorators.py index bb0219c573..694e07bd2c 100644 --- a/superset/utils/decorators.py +++ b/superset/utils/decorators.py @@ -109,7 +109,7 @@ def etag_cache(max_age: int, check_perms: Callable[..., Any]) -> Callable[..., A except Exception: # pylint: disable=broad-except if app.debug: raise - logger.exception("Exception possibly due to cache backend.") + logger.exception("Exception possibly due to cache backend.") return response.make_conditional(request)