Change-Id: I4bafbf7083007608d3be6ec0ea4883338752a157
Issue-ID: APPC-537
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
try {
output = OBJECT_MAPPER.writeValueAsString(response);
} catch (JsonProcessingException e) {
- e.printStackTrace();
+ LOG.error(e.getMessage());
}
LOG.debug("Received response : " + output);
}
} catch (Exception e) {
- e.printStackTrace();
throw new RuntimeException(e);
}
fileWriter.close();
}
} catch (Exception e) {
- e.printStackTrace();
+ LOG.error(e.getMessage());
}
System.out.println("== THR#" +Thread.currentThread().getId()+ " Output file : " + fileName + suffix);
}