Xalan now returns message when something goes wrong
This commit is contained in:
		| @@ -158,7 +158,6 @@ public class SparkInitializer { | ||||
|                 duration = System.currentTimeMillis() - timeStart; | ||||
|                 LOG.info("Request: " + body + " processed in " + duration + " ms."); | ||||
|                 responseMap.put("processor", Xalan.getVersion()); | ||||
|                 responseMap.put("result", tmp); | ||||
|                 responseMap.put("time", Long.toString(duration)); | ||||
|                 resp.body(mapper.writeValueAsString(responseMap)); | ||||
|                 return resp; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user