From abc6c07ee328cc00f2769c446e7383aa76ecce39 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 21 Oct 2025 12:52:34 -0700 Subject: [PATCH] Update locationdata.py --- modules/locationdata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/locationdata.py b/modules/locationdata.py index 35d4d80..736f5df 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -530,8 +530,8 @@ def getIpawsAlert(lat=0, lon=0, shortAlerts = False): if not alert_data.ok: logger.warning(f"System: iPAWS fetching IPAWS alerts from FEMA (HTTP {alert_data.status_code})") return ERROR_FETCHING_DATA - except requests.exceptions.RequestException as e: - logger.warning(f"System: iPAWS fetching IPAWS alerts from FEMA ({e})") + except Exception as e: + logger.warning(f"System: iPAWS fetching IPAWS alerts from FEMA failed: {e}") return ERROR_FETCHING_DATA # main feed bulletins