Update PlanService.java

added output of errors