From 34f2c0acdb1f84bb28581e66078cb26313fd5415 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 11 Sep 2019 12:21:51 +0200 Subject: [PATCH] luci-base: view.htm: catch and render exceptions on view instantiation Signed-off-by: Jo-Philipp Wich --- modules/luci-base/luasrc/view/view.htm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/luci-base/luasrc/view/view.htm b/modules/luci-base/luasrc/view/view.htm index bddd8e446..9220ecf29 100644 --- a/modules/luci-base/luasrc/view/view.htm +++ b/modules/luci-base/luasrc/view/view.htm @@ -2,7 +2,10 @@
<%:Loading view…%>
- +
<%+footer%> -- 2.25.1