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