fix: disable false positive error (#10576)

This commit is contained in:
Daniel Vaz Gaspar 2020-08-11 18:20:57 +01:00 committed by GitHub
parent 83af9d12f8
commit b7650b9f57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)