Update locationdata.py

This commit is contained in:
SpudGunMan
2025-10-03 15:01:41 -07:00
parent 5209092928
commit 9d080de8f3

View File

@@ -647,7 +647,7 @@ def get_flood_noaa(lat=0, lon=0, uid=0):
# except TypeError as e:
# print(f"Type error in data: {e}")
except Exception as e:
logger.debug("Location:Error extracting flood gauge data from NOAA for " + str(uid))
logger.debug("Location:Error extracting flood gauge data from NOAA for " + str(uid) + f" {e}")
return ERROR_FETCHING_DATA
# format the flood data