log failed requests in DEBUG mode
This commit is contained in:
parent
e2d996f1e0
commit
3eb95e09a2
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,10 @@ async def hyprctl(command):
|
||||||
await ctl_writer.wait_closed()
|
await ctl_writer.wait_closed()
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
print("<<<", resp)
|
print("<<<", resp)
|
||||||
return resp == b"ok" * (len(resp) // 2)
|
r = resp == b"ok" * (len(resp) // 2)
|
||||||
|
if DEBUG and not r:
|
||||||
|
print(f"FAILED {resp}")
|
||||||
|
return r
|
||||||
|
|
||||||
|
|
||||||
async def get_focused_monitor_props():
|
async def get_focused_monitor_props():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue