From 65d30a3bbba0dd48418ab5c910b45810c0a3dad3 Mon Sep 17 00:00:00 2001 From: Mike Nichols Date: Fri, 7 Jun 2024 16:49:44 -0400 Subject: [PATCH] moar better log --- polling/frequent/activities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polling/frequent/activities.py b/polling/frequent/activities.py index b8386f7b..c254fc33 100644 --- a/polling/frequent/activities.py +++ b/polling/frequent/activities.py @@ -24,7 +24,7 @@ async def compose_greeting(input: ComposeGreetingInput) -> str: return result except Exception as e: # swallow exception since service is down - activity.logger.error(e) + activity.logger.debug("Failed, trying again shortly", exc_info=True) activity.heartbeat("Invoking activity") await asyncio.sleep(1)