diff options
Diffstat (limited to 'gn_libs/http_logging.py')
| -rw-r--r-- | gn_libs/http_logging.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn_libs/http_logging.py b/gn_libs/http_logging.py index 79660a8..c65e0a4 100644 --- a/gn_libs/http_logging.py +++ b/gn_libs/http_logging.py @@ -38,7 +38,7 @@ class SilentHTTPHandler(logging.Handler): # fire-and-forget self._send(payload) - except Exception: + except Exception:# pylint: disable=[broad-exception-caught] # absolute silence pass @@ -52,5 +52,5 @@ class SilentHTTPHandler(logging.Handler): ) with urllib.request.urlopen(req, timeout=5) as resp: resp.read() # ignore body - except Exception: + except Exception:# pylint: disable=[broad-exception-caught] pass |
