Skip to content

Commit

Permalink
Update PlanService.java
Browse files Browse the repository at this point in the history
added output of errors
  • Loading branch information
tinytelly committed May 5, 2014
1 parent d2fce9f commit e085b0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/tinytelly/service/PlanService.java
Expand Up @@ -94,6 +94,7 @@ public PayLoad execute(Plan plan) {
if (!payLoad.hasErrors()) {
System.out.println(getPlanDisplayText(plan.getName() + PlanConstants.PLAN_SUCCESSFUL_RUN));
} else {
System.out.println(payLoad.getErrors());
System.out.println(getPlanDisplayText(plan.getName() + PlanConstants.PLAN_NOT_SUCCESSFULLY_RUN));
}
return payLoad;
Expand Down

0 comments on commit e085b0c

Please sign in to comment.