changeset 1193:9f522cfe0c30

add request to error log
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 26 Feb 2018 15:43:32 -0700
parents e15a41a8b4b2
children bd0420fb3dd0
files src/luan/modules/http/LuanHandler.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
diff -r e15a41a8b4b2 -r 9f522cfe0c30 src/luan/modules/http/LuanHandler.java
--- a/src/luan/modules/http/LuanHandler.java	Mon Feb 26 14:51:44 2018 -0700
+++ b/src/luan/modules/http/LuanHandler.java	Mon Feb 26 15:43:32 2018 -0700
@@ -83,7 +83,7 @@
 		} catch(LuanException e) {
 //e.printStackTrace();
 			String err = e.getLuanStackTraceString();
-			logger.error(err);
+			logger.error(err+"\n"+request.rawHead.trim());
 			String msg = "Internel Server Error\n\n" + err;
 			return Response.errorResponse( Status.INTERNAL_SERVER_ERROR, msg );
 		} finally {