Skip to content

Commit

Permalink
lib.env: Adjusted a log level
Browse files Browse the repository at this point in the history
  • Loading branch information
msinn committed Dec 31, 2024
1 parent 516b2ad commit df2d65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/env/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def location_name(lat: Union[float, str], lon: Union[float, str]) -> str:
_logger.warning("location_name: " + translate("Response '{response}' is not in valid json format: {e}", {'response': response, 'e': e}))
return ''
else:
_logger.warning(f"location_name: openstreetmap.org responded with '{response.status_code}' when trying to get locatio name for {lat=} / {lon=}")
_logger.info(f"location_name: openstreetmap.org responded with '{response.status_code}' when trying to get locatio name for {lat=} / {lon=}")
return ''

if json_obj.get('address', None) is None:
Expand Down

0 comments on commit df2d65e

Please sign in to comment.