Mercurial Hosting > luan
diff http/src/luan/modules/http/HttpServicer.java @ 646:cdc70de628b5
simplify LuanException
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 29 Mar 2016 19:58:39 -0600 |
parents | 859c0dedc8b6 |
children | ca169567ce07 |
line wrap: on
line diff
--- a/http/src/luan/modules/http/HttpServicer.java Tue Mar 29 18:09:51 2016 -0600 +++ b/http/src/luan/modules/http/HttpServicer.java Tue Mar 29 19:58:39 2016 -0600 @@ -52,7 +52,7 @@ if( mod==null ) return false; if( !(mod instanceof LuanFunction) ) - throw new LuanException(luan, "module '"+modName+"' must return a function" ); + throw new LuanException( "module '"+modName+"' must return a function" ); if( Boolean.TRUE.equals(per_session_pages.rawGet(mod)) ) { HttpSession session = request.getSession(); LuanState sessionLuan = (LuanState)session.getValue("luan");