diff options
| author | Aadniz <8147434+Aadniz@users.noreply.github.com> | 2025-12-12 16:20:25 +0100 |
|---|---|---|
| committer | Bnyro <bnyro@tutanota.com> | 2025-12-26 18:07:51 +0100 |
| commit | 8851f4d6b1f13e3f14b2a64e97cc87fb4bdec15e (patch) | |
| tree | fafefea78d48be23d8ce1d3fff7292375f6b8dfe /searx | |
| parent | f954423101bf77d8a4599165825f1544eec984c3 (diff) | |
[fix] searx.network: fix string concatenation of proxy error message
Diffstat (limited to 'searx')
| -rw-r--r-- | searx/network/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/network/client.py b/searx/network/client.py index c7c07c385..024eb2567 100644 --- a/searx/network/client.py +++ b/searx/network/client.py @@ -106,9 +106,9 @@ class AsyncProxyTransportFixed(AsyncProxyTransport): except ProxyConnectionError as e: raise httpx.ProxyError("ProxyConnectionError: " + str(e.strerror), request=request) from e except ProxyTimeoutError as e: - raise httpx.ProxyError("ProxyTimeoutError: " + e.args[0], request=request) from e + raise httpx.ProxyError("ProxyTimeoutError: " + str(e.args[0]), request=request) from e except ProxyError as e: - raise httpx.ProxyError("ProxyError: " + e.args[0], request=request) from e + raise httpx.ProxyError("ProxyError: " + str(e.args[0]), request=request) from e def get_transport_for_socks_proxy( |