luci-base: runtime.uc: fix error500() invocation on theme failure
authorJo-Philipp Wich <jo@mein.io>
Mon, 7 Aug 2023 21:36:36 +0000 (23:36 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 7 Aug 2023 21:36:36 +0000 (23:36 +0200)
commit9763e3e9d320b5128f374117d0ff95ab8cc7f626
tree269d31376dfd9df9b20c0997dd984851ff3c9ec2
parent107ed061a8b68f080df122770690d513f52eeed0
luci-base: runtime.uc: fix error500() invocation on theme failure

In case no single theme could be loaded successfully, the runtime class
failed to properly invoke the `error500()` method, which is only available
through the passed environment at this point.

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