From 63ac98c0fe4020ecfb9ad5b68682a0571978effe Mon Sep 17 00:00:00 2001 From: Liam Fruzyna Date: Sun, 10 Mar 2024 14:38:13 -0500 Subject: [PATCH] Added additional logs to getAlliance --- src/main/java/org/wildstang/framework/core/Core.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/wildstang/framework/core/Core.java b/src/main/java/org/wildstang/framework/core/Core.java index 80ee8c4..4ada029 100644 --- a/src/main/java/org/wildstang/framework/core/Core.java +++ b/src/main/java/org/wildstang/framework/core/Core.java @@ -236,6 +236,10 @@ public static Alliance getAlliance() { Optional 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;