added exception logging for inhibitor
This commit is contained in:
parent
7f7dde4cc5
commit
308dc678b7
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user