lemonbar: Cleaning up
Add connection to i3ws object. Log exceptions with debugger
This commit is contained in:
@@ -154,8 +154,9 @@ def exec_commands():
|
||||
try:
|
||||
modules.do_action(data)
|
||||
|
||||
except:
|
||||
except Exception as e:
|
||||
common.logger.debug('Exception occured executing command\n Line in: {}'.format(data))
|
||||
common.logger.debug(str(e))
|
||||
if len(data) == 0:
|
||||
common.logger.debug("Lemonbar output closed")
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user