aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Nader <jason.nader@protonmail.com>2020-03-20 21:57:35 +0900
committerJason Nader <jason.nader@protonmail.com>2020-03-20 21:57:35 +0900
commitf4e5cd627b1a14d5633c1fd688c16a2ff8581ae9 (patch)
tree7e1ce0eb9cbef02badfe664e9aac6dad673b6cd2
parent62571efd02238c4593d6db44a625b6220d33035e (diff)
downloadautotiling-f4e5cd627b1a14d5633c1fd688c16a2ff8581ae9.tar.gz
Update error message to be less ambiguous
-rwxr-xr-xautotiling.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotiling.py b/autotiling.py
index e3a6eee..131e447 100755
--- a/autotiling.py
+++ b/autotiling.py
@@ -45,7 +45,7 @@ def switch_splitting(i3, e, debug):
if result[0].success and debug:
print('Debug: Switched to {}'.format(new_layout), file=sys.stderr)
else:
- print('Error: {}'.format(result[0].error), file=sys.stderr)
+ print('Error: Switch failed with err {}'.format(result[0].error), file=sys.stderr)
elif debug:
print('Debug: No focused container found', file=sys.stderr)