changeset 1411:8dec6b62a5e4

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 30 Sep 2019 19:20:05 -0600
parents dc625408def8
children 4ba0377afa3e
files src/luan/modules/http/LuanHandler.java
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/modules/http/LuanHandler.java	Mon Sep 30 16:58:28 2019 -0600
+++ b/src/luan/modules/http/LuanHandler.java	Mon Sep 30 19:20:05 2019 -0600
@@ -76,12 +76,14 @@
 		} catch(LuanException e) {
 			throw new RuntimeException(e);
 		}
-		sysLogger.info("new "+domain);
+		if( domain != null )
+			sysLogger.info("new "+domain);
 		currentLuan = newLuan();
 	}
 
 	protected void finalize() throws Throwable {
-		sysLogger.info("gc "+domain);
+		if( domain != null )
+			sysLogger.info("gc "+domain);
 	}
 
 	private Luan newLuan() {