diff src/luan/modules/http/Http.luan @ 1648:224af797b1f9

Mainly small install script improvements - Consistent usage of `$LUANHOME`, removed reliance on current directory. - Made Luan build and install fine (on Linux) without requiring launching it via sudo. Only asks to elevate privileges if installation failed. - Minor spelling mistake fix.
author Fox
date Mon, 28 Mar 2022 18:00:12 +0200
parents a37ffe2d1b14
children b82767112d8e
line wrap: on
line diff
--- a/src/luan/modules/http/Http.luan	Tue Mar 22 09:00:59 2022 -0700
+++ b/src/luan/modules/http/Http.luan	Mon Mar 28 18:00:12 2022 +0200
@@ -200,7 +200,7 @@
 	local call = Http.error_priority(e)
 	local err = e.get_stack_trace_string()
 	logger[call](err.."\n"..trim(java_request.rawHead).."\n")
-	local msg = "Internel Server Error\n\n"..err
+	local msg = "Internal Server Error\n\n"..err
 	return Response.errorResponse( Status.INTERNAL_SERVER_ERROR, msg )
 end