From ed8a6c0333f9569fb6f6401308c6620cebfbbc90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 4 Dec 2023 08:12:03 +0100 Subject: [PATCH] git: fix retry message --- buildbot_nix/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildbot_nix/__init__.py b/buildbot_nix/__init__.py index be820d4..3322659 100644 --- a/buildbot_nix/__init__.py +++ b/buildbot_nix/__init__.py @@ -345,7 +345,8 @@ class GitWithRetry(steps.Git): retry_counter += 1 if retry_counter == 3: raise e - self.step_status.setText(f"Retrying git clone (error: {e})") + log: Log = yield self.addLog("log") + yield log.addStderr(f"Retrying git clone (error: {e})\n") yield asyncSleep(2 << retry_counter) # 2, 4, 8