added exception logging for inhibitor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user