changeset 177:02859b3e9d80

minor git-svn-id: https://luan-java.googlecode.com/svn/trunk@178 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Mon, 23 Jun 2014 07:57:12 +0000
parents 88ad4fc4c643
children 2c08e7e27a70
files web/src/luan/modules/web/LuanHandler.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
diff -r 88ad4fc4c643 -r 02859b3e9d80 web/src/luan/modules/web/LuanHandler.java
--- a/web/src/luan/modules/web/LuanHandler.java	Mon Jun 23 07:54:30 2014 +0000
+++ b/web/src/luan/modules/web/LuanHandler.java	Mon Jun 23 07:57:12 2014 +0000
@@ -27,7 +27,7 @@
 			response.setStatus(HttpServletResponse.SC_OK);
 		} catch(LuanException e) {
 //e.printStackTrace();
-			response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR,e.toString());
+			response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR,e.getMessage());
 		}
 		baseRequest.setHandled(true);
 	}