diff --git a/src/daemon/inbox.py b/src/daemon/inbox.py index 5d9e596..44070e8 100644 --- a/src/daemon/inbox.py +++ b/src/daemon/inbox.py @@ -158,6 +158,7 @@ class InboxWatcher: else: logger.warning("Inbox line %d: expected dict, got %s", line_no, type(event).__name__) + self._total_errors += 1 except json.JSONDecodeError: logger.warning("Inbox line %d: invalid JSON, skipping", line_no) self._total_errors += 1