Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Dec 1, 2024
1 parent eacd769 commit 4705c81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ async def __aexit__(
if (
exc_value is not None
and exc_type is not None
and issubclass(exc_type, Exception)
and isinstance(exc_value, Exception)
and issubclass(exc_type, Exception)
and (exc_handler := self._get_exc_handler_or_none(exc_type, exc_value))
):
self._response = await exc_handler(
Expand Down

0 comments on commit 4705c81

Please sign in to comment.