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.
(cherry picked from commit de43b306d4
)
This commit is contained in:
parent
b41cf74509
commit
46dce5747b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user