luci-base: dispatcher.uc: fix error500() reporting in fallback case
authorJo-Philipp Wich <jo@mein.io>
Mon, 7 Aug 2023 21:29:50 +0000 (23:29 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 7 Aug 2023 22:14:23 +0000 (00:14 +0200)
commitd1bf57ecd876c8ef83575247a631d24df6be466a
tree6fba4fe7a7a64c62ebf2f140e2dc8da9d4a86d75
parentf74f1cb8135f24686961d53f7c252e312e5a0228
luci-base: dispatcher.uc: fix error500() reporting in fallback case

Fix the `error500()` fallback code path to properly output the given error
message in case rendering the error template failed.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a435d4e11a1f0701200ad392000dbaf0d0135405)
modules/luci-base/ucode/dispatcher.uc