update error message

This commit is contained in:
Hugh Rundle 2024-09-09 10:19:03 +10:00
parent 9c89e0fbaf
commit cfe10fa874
No known key found for this signature in database
GPG key ID: A7E35779918253F9

View file

@ -374,7 +374,7 @@ def resolve_remote_id(
logger.info("Could not connect to host for remote_id: %s", remote_id) logger.info("Could not connect to host for remote_id: %s", remote_id)
return None return None
except requests.HTTPError as e: except requests.HTTPError as e:
logger.info("Could not connect to host for remote_id: %s", remote_id) logger.exception("HTTP error - remote_id: %s - error: %s", remote_id, e)
return None return None
# determine the model implicitly, if not provided # determine the model implicitly, if not provided
# or if it's a model with subclasses like Status, check again # or if it's a model with subclasses like Status, check again