diff options
| author | nkozlovskiy <[email protected]> | 2023-12-13 15:31:48 +0300 |
|---|---|---|
| committer | nkozlovskiy <[email protected]> | 2023-12-13 17:03:29 +0300 |
| commit | bb147e7bfb3c509c1d6096bbc79babb02a9e9a33 (patch) | |
| tree | 36e002a210f7e5ce7608c8e45526e8eadcc19989 | |
| parent | 5c33ae007ff2467953e59126c1e2035a058949de (diff) | |
ci: testmo-proxy use RequestException instead of ConnectionError
| -rwxr-xr-x | ydb/ci/testmo-proxy/testmo-proxy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/ci/testmo-proxy/testmo-proxy.py b/ydb/ci/testmo-proxy/testmo-proxy.py index 9014de01102..462cc46ed9e 100755 --- a/ydb/ci/testmo-proxy/testmo-proxy.py +++ b/ydb/ci/testmo-proxy/testmo-proxy.py @@ -50,8 +50,8 @@ class Handler(http.server.BaseHTTPRequestHandler): try: response = requests.request(method, url, data=body, headers=headers, timeout=self._timeout) break - except requests.exceptions.ConnectionError as e: - self.log_message("! catch IOError(%s), retry", e) + except requests.exceptions.RequestException as e: + self.log_message("! catch %s, retry", e) time.sleep(0.25) continue |
