diff src/luan/modules/http/HttpServicer.java @ 1267:9fa8b8389578

add LuanTable.luan; support metatable __gc(); add luan.sql;
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 12 Nov 2018 02:10:41 -0700
parents 3f4644246e39
children 503bde9a7c80
line wrap: on
line diff
--- a/src/luan/modules/http/HttpServicer.java	Sun Sep 30 19:10:48 2018 -0600
+++ b/src/luan/modules/http/HttpServicer.java	Mon Nov 12 02:10:41 2018 -0700
@@ -35,7 +35,7 @@
 		}
 		LuanTable module = (LuanTable)PackageLuan.require(luan,"luan:http/Http.luan");
 		LuanFunction fn = (LuanFunction)module.rawGet("handle_error");
-		return (Response)fn.call( luan, new Object[]{request,e.table()} );
+		return (Response)fn.call( luan, new Object[]{request,e.table(luan)} );
 	}
 
 	private static Response serviceLuan(LuanState luan,Request request,String modName)