From ae855fc1c5d019d2f5f4486a2de57a42f6525f19 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Mon, 29 Jul 2024 00:39:52 +0100 Subject: [PATCH] Log info in status chcker --- app/modules/ai.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/modules/ai.py b/app/modules/ai.py index a9c57b5..ed11902 100644 --- a/app/modules/ai.py +++ b/app/modules/ai.py @@ -188,6 +188,7 @@ class AIModule(niobot.Module): async def ping_task(target_url, target_name): async with ollama_client(target_url) as client: try: + self.log.info("[status] Checking %s (%r)", target_name, target_url) await client.ps() except (httpx.HTTPError, ConnectionError): lines[target_name]["online"] = False