Skip to content

Commit

Permalink
Use sim error stream
Browse files Browse the repository at this point in the history
  • Loading branch information
neumantm committed Oct 8, 2019
1 parent 2e59812 commit 0ee3dfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public void run(final String program, final Entity entity) {
} catch (Exception e) {
Logger.simout.println("----------------------------------------------");
Logger.simout.println("The following exception happened in program " + program + " running on entity " + entity.toString());
e.printStackTrace(Logger.simout);
e.printStackTrace(Logger.simerror);
Logger.simout.println("----------------------------------------------");
info.setState(EntityProgramState.KILLED);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private boolean executeTask() {
} catch (Exception e) {
Logger.simout.println("----------------------------------------------");
Logger.simout.println("The following exception caused a task failure:");
e.printStackTrace(Logger.simout);
e.printStackTrace(Logger.simerror);
Logger.simout.println("----------------------------------------------");
return false;
}
Expand Down

0 comments on commit 0ee3dfe

Please sign in to comment.