diff --git a/hole/v6.py b/hole/v6.py index eacc4a1..a9d84ed 100644 --- a/hole/v6.py +++ b/hole/v6.py @@ -136,7 +136,7 @@ async def authenticate(self): except (asyncio.TimeoutError, aiohttp.ClientError, socket.gaierror) as err: raise exceptions.HoleConnectionError( f"Cannot authenticate with Pi-hole: {err}" - ) + ) from err async def logout(self): """Logout and cleanup the current session."""