projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad57125
)
Fix debugging output
author
Steven Barth
<steven@midlink.org>
Sat, 7 Mar 2009 13:21:27 +0000
(13:21 +0000)
committer
Steven Barth
<steven@midlink.org>
Sat, 7 Mar 2009 13:21:27 +0000
(13:21 +0000)
libs/web/luasrc/dispatcher.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/dispatcher.lua
b/libs/web/luasrc/dispatcher.lua
index 60d468e86df2c4331658beb80c39680ef6226ad7..a620925789a306bf1c83ed6a1a5c29140b5119d3 100644
(file)
--- a/
libs/web/luasrc/dispatcher.lua
+++ b/
libs/web/luasrc/dispatcher.lua
@@
-66,7
+66,6
@@
function error404(message)
if not luci.util.copcall(luci.template.render, "error404") then
luci.http.prepare_content("text/plain")
luci.http.write(message)
- luci.util.perror(message)
end
return false
end
@@
-75,6
+74,7
@@
end
-- @param message Custom error message (optional)#
-- @return false
function error500(message)
+ luci.util.perror(message)
if not context.template_header_sent then
luci.http.status(500, "Internal Server Error")
else