From 2cbc1a98b99eff400c3da45a13ab6c2c6f099c40 Mon Sep 17 00:00:00 2001 From: Thales Maciel Date: Wed, 25 Feb 2026 11:33:07 -0300 Subject: [PATCH] add warning on unexpected redundant state set --- src/aman.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/aman.py b/src/aman.py index 54afd2f..0ea7a2c 100755 --- a/src/aman.py +++ b/src/aman.py @@ -83,6 +83,8 @@ class Daemon: self.state = state if prev != state: logging.debug("state: %s -> %s", prev, state) + else: + logging.warning("redundant state set: %s, kindly inform the dev", state) def get_state(self): with self.lock: