added exception logging for inhibitor

This commit is contained in:
Ezri Brimhall 2025-09-11 16:55:30 -06:00
parent 7f7dde4cc5
commit 308dc678b7
Signed by: ezri
GPG Key ID: 058A78E5680C6F24

View File

@ -273,7 +273,7 @@ class GlobalProtectConnection(
await self._inhibitor.acquire() await self._inhibitor.acquire()
except Exception as e: 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.\n{e}"
) )
# Create subprocess # Create subprocess