From f7c789d62f9700099c527019227dcbe2e4a40021 Mon Sep 17 00:00:00 2001 From: Matthew Iannucci Date: Tue, 12 Nov 2024 15:29:43 -0500 Subject: [PATCH] Smol tweak --- xpublish_wms/wms/get_feature_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpublish_wms/wms/get_feature_info.py b/xpublish_wms/wms/get_feature_info.py index 38b5668..3b320b0 100644 --- a/xpublish_wms/wms/get_feature_info.py +++ b/xpublish_wms/wms/get_feature_info.py @@ -175,7 +175,7 @@ def get_feature_info( else: try: selected_ds = selected_ds.cf.isel(time=0) - except: + except Exception: # Skip it, time isn't a dimension, even though it is a coordinate pass