diff --git a/i3pystatus/timewarrior.py b/i3pystatus/timewarrior.py index ca387a6..a80a46c 100644 --- a/i3pystatus/timewarrior.py +++ b/i3pystatus/timewarrior.py @@ -41,8 +41,9 @@ class TImewarrior(IntervalModule): tracks = loads(tracks_json.decode("utf-8")) self.track = tracks[-1] - except ValueError: + except ValueError as error: print('Decoding JSON has failed') + raise error def stop_or_continue(self): self.loadTrack()