Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

Commit

Permalink
normal fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshayLaxmanUbale committed Mar 26, 2019
1 parent 3212b61 commit bdf88fc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
<artifactId>lombok</artifactId>
<version>1.16.4</version>
</dependency>

<!-- https://mvnrepository.com/artifact/jfree/jfreechart -->
<dependency>
<groupId>jfree</groupId>
<artifactId>jfreechart</artifactId>
<version>1.0.13</version>
</dependency>


</dependencies>
<build>
<finalName>WorkflowManager</finalName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public ArrayList<String> run(LogicGraph logicGraph, Entity runConfig) {
status.add("Problem at: "+flow.get(i).getName());
status.add("Cause: "+e.getMessage());
e.printStackTrace();
this.template.convertAndSend("/chat", new SimpleDateFormat("HH:mm:ss").format(new Date()) + " Error in Execution.");
this.template.convertAndSend("/chat", new SimpleDateFormat("HH:mm:ss").format(new Date()) + " Error in Execution" + status);
return status;
}
} while (anchor);
Expand All @@ -70,7 +70,7 @@ public ArrayList<String> run(LogicGraph logicGraph, Entity runConfig) {
System.out.println("phase over count:"+count+"\nphasestart:"+phaseStart+"\nphaseend:"+phaseEnd);
}while (phaseEnd<flow.size());
status.add("success");
this.template.convertAndSend("/chat", new SimpleDateFormat("HH:mm:ss").format(new Date()) + " Execution Completed.");
this.template.convertAndSend("/chat", new SimpleDateFormat("HH:mm:ss").format(new Date()) + " Execution Completed "+ status);

return status;
}
Expand Down

0 comments on commit bdf88fc

Please sign in to comment.