From a3482cf2e809cf013ba64258c5a0cbe80ba0b58e Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Sat, 7 Jun 2025 18:00:00 +0200 Subject: [PATCH] Log errors --- buba/animations/dbf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buba/animations/dbf.py b/buba/animations/dbf.py index 421da64..6ffdf3b 100644 --- a/buba/animations/dbf.py +++ b/buba/animations/dbf.py @@ -35,7 +35,8 @@ class DBFAnimation(BubaAnimation): def update(self): try: self.fetch() - except Exception: + except Exception as e: + self.log.warning(f"Unable to fetch {self.station}: {e}") pass sleep(60)