This commit is contained in:
Ezri Brimhall 2025-09-11 16:51:43 -06:00
parent 3dfe5f0152
commit 559d6cbbab
Signed by: ezri
GPG Key ID: 058A78E5680C6F24

View File

@ -271,9 +271,10 @@ class GlobalProtectConnection(
# Take logind inhibitor # Take logind inhibitor
try: try:
await self._inhibitor.acquire() await self._inhibitor.acquire()
except: except Exception as e:
self.logger.warning( 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.",
e,
) )
# Create subprocess # Create subprocess