From 0993b94acd5db57875e397872f148b6bd5fecaea Mon Sep 17 00:00:00 2001 From: kurokobo <2920259+kurokobo@users.noreply.github.com> Date: Wed, 18 Feb 2026 09:42:51 +0900 Subject: [PATCH] fix: correct misleading retry count in error message --- api/core/workflow/nodes/http_request/executor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/core/workflow/nodes/http_request/executor.py b/api/core/workflow/nodes/http_request/executor.py index 1e6e14482b..d067e38728 100644 --- a/api/core/workflow/nodes/http_request/executor.py +++ b/api/core/workflow/nodes/http_request/executor.py @@ -366,7 +366,9 @@ class Executor: **request_args, max_retries=self.max_retries, ) - except (self._http_client.max_retries_exceeded_error, self._http_client.request_error) as e: + except self._http_client.max_retries_exceeded_error as e: + raise HttpRequestNodeError(f"Reached maximum retries for URL {self.url}") from e + except self._http_client.request_error as e: raise HttpRequestNodeError(str(e)) from e return response