diff --git a/src/telliot_feeds/sources/gyd_source.py b/src/telliot_feeds/sources/gyd_source.py index 4c887c56..477f0d1f 100644 --- a/src/telliot_feeds/sources/gyd_source.py +++ b/src/telliot_feeds/sources/gyd_source.py @@ -109,9 +109,7 @@ async def get_total_liquidity_of_pools(self) -> list[float]: except requests.exceptions.ConnectTimeout: logger.warning("Timeout Error, No data retrieved from Balancer subgraph") return [] - except UnboundLocalError: - logger.warning("UnboundLocalError, No data retrieved from Balancer subgraph") - return [] + except Exception as e: logger.warning(f"No data retrieved from Balancer subgraph {e}") return []