Skip to content

Commit

Permalink
fixup old go style of errors in printf statements
Browse files Browse the repository at this point in the history
  • Loading branch information
jasdel committed Jun 17, 2021
1 parent d4f7771 commit 2b63ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion private/protocol/timestamp.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func tryParse(v string, formats ...string) (time.Time, error) {
return t, nil
}

return time.Time{}, fmt.Errorf("unable to parse time string, %w", errs)
return time.Time{}, fmt.Errorf("unable to parse time string, %v", errs)
}

type parseErrors []parseError
Expand Down

0 comments on commit 2b63ddd

Please sign in to comment.