mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
fix: Correct HTTPError status code access in onboarding
This commit is contained in:
parent
27c1fd0262
commit
75b79fa002
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ 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.status_code} {e.response.reason}"
|
||||
f"Error exchanging code for OpenRouter key: {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