Answer stability round 2: 1 🔴, 0 🟡 (0 misread); read an empty answer to a new link as success, and skip a Fix Version whose name is no text

This commit is contained in:
2026-11-15 03:46:03 +01:00
parent 0aa89d283e
commit 155f1e873c
6 changed files with 15 additions and 7 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ def send(config: Config, message: str, http: Http) -> Failure | None:
def http_json(method: str, url: str, token: str, body: object) -> object:
"""The JSON that url answers to the bot's request, or a Failure saying why there is none."""
"""The JSON that url answers to the bot's request, None where the answer has no body, or a Failure saying why there is none."""
return json_request.http_json(method, url, f"Bearer {token}", body, TIMEOUT, error_message)