summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/ucode/runtime.uc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base/ucode/runtime.uc')
-rw-r--r--modules/luci-base/ucode/runtime.uc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/ucode/runtime.uc b/modules/luci-base/ucode/runtime.uc
index e460127e2c..f14bf74480 100644
--- a/modules/luci-base/ucode/runtime.uc
+++ b/modules/luci-base/ucode/runtime.uc
@@ -173,7 +173,7 @@ export default function(env) {
}
if (!media)
- error500(`Unable to render any theme header template, last error was:\n${status}`);
+ env.dispatcher.error500(`Unable to render any theme header template, last error was:\n${status}`);
}
self.env.media = media;