added exception logging for inhibitor

This commit is contained in:
2025-09-11 16:55:30 -06:00
parent 7f7dde4cc5
commit 308dc678b7

View File

@@ -273,7 +273,7 @@ class GlobalProtectConnection(
await self._inhibitor.acquire()
except Exception as e:
self.logger.warning(
f"Unable to acquire sleep delay inhibitor. Networking will be broken on resume from suspend."
f"Unable to acquire sleep delay inhibitor. Networking will be broken on resume from suspend.\n{e}"
)
# Create subprocess