From 3a14bc6c029fa1bccb13b1b087310bf7cbf051cf Mon Sep 17 00:00:00 2001 From: ggfevans Date: Sun, 1 Feb 2026 23:47:06 -0800 Subject: [PATCH] fix: correct grammatically awkward cooldown message Changed 'Cooling down until in X sec' to 'Cooldown active; retry in X sec' to fix awkward 'until in' construction and match internal logging style. Fixes #38 --- Sources/RepoBarCore/API/GitHubRequestRunner.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/RepoBarCore/API/GitHubRequestRunner.swift b/Sources/RepoBarCore/API/GitHubRequestRunner.swift index 54237ceb..02cff3de 100644 --- a/Sources/RepoBarCore/API/GitHubRequestRunner.swift +++ b/Sources/RepoBarCore/API/GitHubRequestRunner.swift @@ -52,7 +52,7 @@ actor GitHubRequestRunner { await self.diag.message("Cooldown active for \(url.absoluteString) until \(cooldown)") throw GitHubAPIError.serviceUnavailable( retryAfter: cooldown, - message: "Cooling down until \(RelativeFormatter.string(from: cooldown, relativeTo: Date()))." + message: "Cooldown active; retry \(RelativeFormatter.string(from: cooldown, relativeTo: Date()))." ) }