luci-base: dispatcher.uc: improve error reporting for actionless nodes
authorJo-Philipp Wich <jo@mein.io>
Mon, 21 Aug 2023 07:28:18 +0000 (09:28 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 21 Aug 2023 07:48:29 +0000 (09:48 +0200)
commit86f04d85fc774db9cb7e60a34a50f936d8d7be23
treeb0bf6bc7e4cfebff7777ac529573c4cc653452a6
parentec8cf9e83cd4e4afdf0a00910e057a890600e8a8
luci-base: dispatcher.uc: improve error reporting for actionless nodes

In case a - potentially auto-created, intermediate - node is requested, reply
with a clean HTTP 404 error instead of an internal assertion about an unknown
action type.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/ucode/dispatcher.uc