juju config homer-dashboard additional_sites='["MAAS|http://1.1.1.11/MAAS/"]'
unit-homer-dashboard-0: 05:47:03 ERROR unit.homer-dashboard/0.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
File "./src/charm.py", line 252, in <module>
main(HomerDashboardCharm, use_juju_for_storage=True)
File "/var/lib/juju/agents/unit-homer-dashboard-0/charm/venv/ops/main.py", line 406, in main
_emit_charm_event(charm, dispatcher.event_name)
File "/var/lib/juju/agents/unit-homer-dashboard-0/charm/venv/ops/main.py", line 140, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-homer-dashboard-0/charm/venv/ops/framework.py", line 278, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-homer-dashboard-0/charm/venv/ops/framework.py", line 722, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-homer-dashboard-0/charm/venv/ops/framework.py", line 767, in _reemit
custom_handler(event)
File "./src/charm.py", line 95, in _on_config_changed
self._additional_sites_changed()
File "./src/charm.py", line 135, in _additional_sites_changed
name, url, group = site.split("|")
ValueError: not enough values to unpack (expected 3, got 2)
unit-homer-dashboard-0: 05:47:03 ERROR juju.worker.uniter.operation hook "config-changed" (via hook dispatching script: dispatch) failed: exit status 1