diff options
Diffstat (limited to 'modules/luci-base/ucode/dispatcher.uc')
-rw-r--r-- | modules/luci-base/ucode/dispatcher.uc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/ucode/dispatcher.uc b/modules/luci-base/ucode/dispatcher.uc index 39af8375ea..831922ac1d 100644 --- a/modules/luci-base/ucode/dispatcher.uc +++ b/modules/luci-base/ucode/dispatcher.uc @@ -52,7 +52,7 @@ function error500(msg, ex) { } catch { http.write('<!--]]>--><!--\'>--><!--">-->\n'); - http.write(`<p>${trim(ex)}</p>\n`); + http.write(`<p>${trim(msg)}</p>\n`); if (ex) { http.write(`<p>${trim(ex.message)}</p>\n`); |