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 21:29:50 +0000 (23:29 +0200)
commita435d4e11a1f0701200ad392000dbaf0d0135405
tree6d752d66d9c5f57d15f7ddc8d1d031dc9c67c8a8
parent48b096de1c6f14025566536d9989a72999d1fe62
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>
modules/luci-base/ucode/dispatcher.uc