Skip to content

Commit b06a23c

Browse files
author
Adam Chovanec
committed
fix: circular reference of exceptions
fixes zabbix#31
1 parent 8d57619 commit b06a23c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zabbix_utils/aioapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ async def __aclose_session(self) -> None:
182182

183183
async def __exception(self, exc) -> None:
184184
await self.__aclose_session()
185-
raise exc from exc
185+
raise exc
186186

187187
def __close_session(self) -> None:
188188
if self.__internal_client:

0 commit comments

Comments
 (0)