diff --git a/i3pystatus/taskwarrior.py b/i3pystatus/taskwarrior.py index 6616f55..dc3c229 100644 --- a/i3pystatus/taskwarrior.py +++ b/i3pystatus/taskwarrior.py @@ -72,7 +72,8 @@ class Taskwarrior(IntervalModule): self.next_id = 0 except ValueError: - print('Decoding JSON has failed') + self.logger.exception('Decoding JSON has failed') + raise format_values = dict(urgent=len(self.urgent_tasks), ready=len(self.ready_tasks), next='')