We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 754365e commit 3fdf9beCopy full SHA for 3fdf9be
tools/cli/internal/breakingchanges/exemptions.go
@@ -57,7 +57,7 @@ func isWithinExpirationDate(exemption Exemption) bool {
57
58
func validateExemption(exemption Exemption) error {
59
if _, err := time.Parse("2006-01-02", exemption.ExemptUntil); err != nil {
60
- return fmt.Errorf("validation error: %v", err)
+ return fmt.Errorf("validation error: %v. Exemption: %s", err, exemption)
61
}
62
63
if err := validateField(exemption.Reason, "reason", exemption); err != nil {
0 commit comments