Fix double logging and improve GMA logging

This commit is contained in:
Ian Renton
2026-06-21 08:17:31 +01:00
parent 57c6751c0d
commit bc913a85ec
10 changed files with 18 additions and 17 deletions

View File

@@ -95,6 +95,6 @@ class GMA(HTTPSpotProvider):
logging.warning("Exception when looking up " + self.REF_INFO_URL_ROOT + source_spot[
"REF"] + ", ignoring this spot for now")
else:
logging.warning("The GMA API returned an unexpected response.")
logging.warning(f"The GMA API returned an unexpected response (HTTP {http_response.status_code}).")
return new_spots