Skip to content
Snippets Groups Projects
Commit de43b306 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-web: add CRLF to text/plain Internal Server Error output

Having a trailing newline is nice when viewing the returned data in a
terminal.
parent 94519cfc
No related branches found
No related tags found
No related merge requests found
......@@ -208,6 +208,6 @@ return function(config, http)
if not ok then
http:status(500, "Internal Server Error")
http:prepare_content("text/plain")
http:write(err)
http:write(err .. "\r\n")
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment