Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Commit eddf293

Browse files
committed
fix catching exception correctly
1 parent 6007b00 commit eddf293

File tree

1 file changed

+1
-1
lines changed
  • swift_sharing_request/bindings

1 file changed

+1
-1
lines changed

swift_sharing_request/bindings/bind.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ async def list_container_requests(
145145
async with self.session.get(url,
146146
params=params,
147147
ssl=ssl_context) as resp:
148-
return json.loads(await resp.text())
148+
return await self._handler_response(resp)
149149

150150
async def share_delete_access(
151151
self,

0 commit comments

Comments
 (0)