server: Replace e.printStackTrace at createErrorResponse(Exception)
@@ -255,7 +255,7 @@ public class GenericRestWSServer implements IWSServer {
protected Response createErrorResponse(Exception e) {
// First we print the exception in Server logs
- e.printStackTrace();
+ logger.error("Catch error: " + e.getMessage(), e);
// Now we prepare the response to client
CellBaseDataResponse queryResponse = new CellBaseDataResponse();
