From 73a925bc25f93c75c4a9e8d1edf7fe8bff934d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Mon, 22 Jun 2026 08:50:49 +0400 Subject: [PATCH] =?UTF-8?q?v1.0.105:=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5?= =?UTF-8?q?=D1=80=D0=BA=D0=B0=20=D0=BE=D1=82=D0=B2=D0=B5=D1=82=D0=B0=20res?= =?UTF-8?q?et=5Fcontract?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/convert_server.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy/convert_server.py b/deploy/convert_server.py index e3fe182..0e71e4e 100755 --- a/deploy/convert_server.py +++ b/deploy/convert_server.py @@ -108,7 +108,10 @@ class Handler(BaseHTTPRequestHandler): try: # 0. Сброс предыдущих результатов сравнения - httpx.get(f"{LUCEE_URL}/reset_contract.cfm?contract_id={cid}", timeout=10) + r = httpx.get(f"{LUCEE_URL}/reset_contract.cfm?contract_id={cid}", timeout=10) + if r.status_code != 200: + self._sse({"type": "error", "message": f"reset failed: HTTP {r.status_code}"}) + return # 1. Список supplements supps = self._lucee_query(