mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
style: Improve formatting of OpenRouter key exchange error message
This commit is contained in:
parent
75b79fa002
commit
83dac4aae2
1 changed files with 2 additions and 1 deletions
|
@ -198,7 +198,8 @@ def exchange_code_for_key(code, code_verifier, io):
|
|||
return None
|
||||
except requests.exceptions.HTTPError as e:
|
||||
io.tool_error(
|
||||
f"Error exchanging code for OpenRouter key: {e.response.status_code} {e.response.reason}"
|
||||
"Error exchanging code for OpenRouter key:"
|
||||
f" {e.response.status_code} {e.response.reason}"
|
||||
)
|
||||
io.tool_error(f"Response: {e.response.text}")
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue