Skip to content

Commit

Permalink
🔖 fix version 0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Oct 8, 2023
1 parent 43855a6 commit 3b7178f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nonebot/adapters/red/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

from nonebot.utils import escape_tag
from pydantic import ValidationError
from nonebot.exception import NetworkError, WebSocketClosed, ActionFailed
from nonebot.drivers import Driver, Request, WebSocket, ForwardDriver
from nonebot.exception import ActionFailed, NetworkError, WebSocketClosed

from nonebot.adapters import Adapter as BaseAdapter

Expand Down Expand Up @@ -250,6 +250,6 @@ async def request(self, setup: Request):
raise ActionFailed(
self.get_name(),
f"HTTP status code {resp.status_code} "
f"response body: {resp.content}"
f"response body: {resp.content}",
)
return resp

0 comments on commit 3b7178f

Please sign in to comment.