1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-05 04:40:11 +01:00
searxng/searx/metrics
Alexandre Flament 41f6359d06 [fix] error recorder: avoid RuntimeError on some rare occasion
httpx.RequestError (subclass of httpx.HTTPError) has a property request.
This property raises a RuntimeError if the attributes _request is None.
To avoid a cascade of errors, this commit reads directly the _request attribute.
2021-09-17 10:06:24 +02:00
..
__init__.py [pylint] searx: drop no longer needed 'missing-function-docstring' 2021-09-07 13:34:35 +02:00
error_recorder.py [fix] error recorder: avoid RuntimeError on some rare occasion 2021-09-17 10:06:24 +02:00
models.py [enh] rewrite and enhance metrics 2021-04-21 16:24:46 +02:00