Improve exception logging in sigref lookup

This commit is contained in:
Ian Renton
2026-06-21 21:43:51 +01:00
parent 89bb5d5e3e
commit 273db04bb0
9 changed files with 17 additions and 17 deletions

View File

@@ -161,8 +161,8 @@ def populate_sig_ref_info(sig_ref):
sig_ref.longitude = ll[1]
except:
logging.debug("Invalid lat/lon received for reference")
except:
logging.warning("Failed to look up sig_ref info for " + sig + " ref " + ref_id + ".")
except Exception:
logging.warning("Failed to look up sig_ref info for " + sig + " ref " + ref_id, exc_info=True)
return sig_ref