Skip to content

Commit 3fdf9be

Browse files
Update exemptions.go
1 parent 754365e commit 3fdf9be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cli/internal/breakingchanges/exemptions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func isWithinExpirationDate(exemption Exemption) bool {
5757

5858
func validateExemption(exemption Exemption) error {
5959
if _, err := time.Parse("2006-01-02", exemption.ExemptUntil); err != nil {
60-
return fmt.Errorf("validation error: %v", err)
60+
return fmt.Errorf("validation error: %v. Exemption: %s", err, exemption)
6161
}
6262

6363
if err := validateField(exemption.Reason, "reason", exemption); err != nil {

0 commit comments

Comments
 (0)