Skip to content

Commit 12864c1

Browse files
authored
Make the warning on out of year vendor deps more serious (#177)
1 parent a996a67 commit 12864c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/edu/wpi/first/nativeutils/vendordeps/InvalidVendorDepYearException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
public class InvalidVendorDepYearException extends RuntimeException {
66
public InvalidVendorDepYearException(JsonDependency dependency, String requiredYear) {
7-
super(String.format("Vendor Dependency %s has invalid year %s. Expected to be %s", dependency.name,
7+
super(String.format("Vendor Dependency %s has invalid year %s. Expected to be %s. Reach out to the vendor to get a new version of the dependency. Attempting to modify an existing dependency will break at runtime, and will result in loss of support from the WPILib team.", dependency.name,
88
dependency.frcYear, requiredYear));
99
}
1010
}

0 commit comments

Comments
 (0)