Skip to content

Commit

Permalink
Added additional logs to getAlliance
Browse files Browse the repository at this point in the history
  • Loading branch information
fruzyna committed Mar 10, 2024
1 parent 38e2117 commit 63ac98c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/org/wildstang/framework/core/Core.java
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,10 @@ public static Alliance getAlliance() {
Optional<Alliance> alliance = DriverStation.getAlliance();
if (alliance.isPresent()) {
Core.alliance = alliance.get();
Log.info("Alliance updated to " + Core.alliance.toString());
}
else {
Log.warn("No Alliance could be retrieved from DriverStation");
}
}
return Core.alliance;
Expand Down

0 comments on commit 63ac98c

Please sign in to comment.