Skip to content

Commit

Permalink
Fix an exception happening when catching an error on update sink conf…
Browse files Browse the repository at this point in the history
…ig (#43)
  • Loading branch information
LePailleurThibault authored Apr 12, 2024
1 parent 6ace252 commit 87b316d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wirepas_mqtt_library/wirepas_network_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def _update_sink_config(self, gw_id, config):
self._task_queue.add_task(self._on_config_changed_cb)

except KeyError:
logging.error("Receiving sink config that is unknown %s/%s", config.gw_id, config.sink_id)
logging.error("Receiving sink config that is unknown %s/%s", gw_id, config["sink_id"])

def _update_gateway_configs(self, config):
try:
Expand Down

0 comments on commit 87b316d

Please sign in to comment.