Skip to content

Commit

Permalink
Improve error status
Browse files Browse the repository at this point in the history
  • Loading branch information
bieniu committed Apr 22, 2024
1 parent 8be7b8e commit 0277051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgw_pib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def _parse_hydrological_data(self: Self, data: dict[str, Any]) -> HydrologicalDa
water_level = data[API_WATER_LEVEL]

if water_level is None:
msg = "Invalid water level"
msg = "Invalid water level value"
raise ApiError(msg)

water_level_sensor = SensorData(
Expand Down

0 comments on commit 0277051

Please sign in to comment.