diff web/src/luan/modules/web/HttpLuan.java @ 249:9737ebb9aaa0

handle LuanExitException git-svn-id: https://luan-java.googlecode.com/svn/trunk@250 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Fri, 17 Oct 2014 00:55:15 +0000
parents c0f87c1ba99f
children
line wrap: on
line diff
--- a/web/src/luan/modules/web/HttpLuan.java	Thu Oct 16 04:04:52 2014 +0000
+++ b/web/src/luan/modules/web/HttpLuan.java	Fri Oct 17 00:55:15 2014 +0000
@@ -101,7 +101,11 @@
 			throw new RuntimeException(e);
 		}
 
-		luan.call(fn,"<http>");
+		try {
+			luan.call(fn,"<http>");
+		} catch(LuanExitException e) {
+//			System.out.println("caught LuanExitException");
+		}
 		return true;
 	}