From 8531eb2f02b51e188c832e992808c7d755b40aac Mon Sep 17 00:00:00 2001 From: Oliver Hofmann Date: Sun, 17 May 2026 13:47:12 +0200 Subject: [PATCH] feat: log URL on chat switch for easier debugging --- src/teampulse/monitor.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/teampulse/monitor.py b/src/teampulse/monitor.py index 74ae97b..2cc2a15 100644 --- a/src/teampulse/monitor.py +++ b/src/teampulse/monitor.py @@ -158,10 +158,16 @@ class Monitor: presenter: str | None = None start_time: datetime | None = None collected: list[ChatMessage] = [] + last_url: str = "" print("Monitoring aktiv. Poste '!start Name' im Chat um ein Zeitfenster zu starten.") while True: + current_url = self._page.url + if current_url != last_url: + print(f" [CHAT] {current_url}") + last_url = current_url + try: new_msgs = self.poll_new_messages() for m in new_msgs: