thesmallstar commented on a change in pull request #906:
URL: https://github.com/apache/fineract/pull/906#discussion_r428726584



##########
File path: 
fineract-provider/src/main/java/org/apache/fineract/portfolio/calendar/service/CalendarUtils.java
##########
@@ -114,7 +116,7 @@ private static Date convertToiCal4JCompatibleDate(final 
LocalDate inputDate) {
         try {
             formattedDate = new Date(seedDateStr, "yyyy-MM-dd");
         } catch (final ParseException e) {
-            e.printStackTrace();
+            LOG.error("{}",e.getMessage());

Review comment:
       Replacing it with:
   LOG.error("Invalid date: {} ", seedDateStr, e);
   or spot bugs won't like it :) 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to