Skip to content

Commit

Permalink
Add ID in addition to nickname
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahk17 authored and jonahk17 committed Aug 25, 2024
1 parent 1931f1f commit acec81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/sciborgs1155/lib/FaultLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public static boolean check(CANSparkBase spark, REVLibError error) {
// ...

if (error != REVLibError.kOk) {
report(nickname.get(spark.getDeviceId()), error.name(), FaultType.ERROR);
report(String.format("Name - %s ID- %s", nickname.get(spark.getDeviceId()), String.valueOf(spark.getDeviceId())), error.name(), FaultType.ERROR);
return false;
}
return true;
Expand Down

0 comments on commit acec81f

Please sign in to comment.