mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 07:50:16 +08:00
🔊 forgot to add backspace
This commit is contained in:
parent
840580334f
commit
f5843dd3ad
@ -241,7 +241,7 @@ class Bot(BaseBot):
|
||||
result = response.json()
|
||||
return _handle_api_result(result)
|
||||
raise NetworkError(f"HTTP request received unexpected "
|
||||
f"status code: {response.status_code}"
|
||||
f"status code: {response.status_code} "
|
||||
f"response body: {response.text}")
|
||||
except httpx.InvalidURL:
|
||||
raise NetworkError("API root url invalid")
|
||||
|
Loading…
Reference in New Issue
Block a user