diff src/luan/modules/http/LuanDomainHandler.java @ 1336:7483108154bb

minor logging
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 14 Feb 2019 05:22:22 -0700
parents 25746915a241
children 643cf1c37723
line wrap: on
line diff
--- a/src/luan/modules/http/LuanDomainHandler.java	Thu Feb 14 03:10:45 2019 -0700
+++ b/src/luan/modules/http/LuanDomainHandler.java	Thu Feb 14 05:22:22 2019 -0700
@@ -26,15 +26,15 @@
 		return new LuanHandler(luan);
 	}
 
-	protected void newLoggerRepository(Luan luan) throws LuanException {
+	protected void newLoggerRepository(Luan luan) {
 		Log4j.newLoggerRepository(luan);
 	}
 
 	protected Luan newLuan(String domain) {
 		LuanCloner cloner = new LuanCloner(LuanCloner.Type.COMPLETE);
 		Luan luan = (Luan)cloner.clone(luanInit);
+		newLoggerRepository(luan);
 		try {
-			newLoggerRepository(luan);
 			LuanTable Http = (LuanTable)luan.require("luan:http/Http.luan");
 			Http.put( "domain", domain );
 		} catch(LuanException e) {