Skip to content

Commit

Permalink
dashboard/app: invalid input are the client errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tarasmadan committed Oct 22, 2024
1 parent a573a9f commit 9d74f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/app/graphs.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func handleFileCoverage(c context.Context, w http.ResponseWriter, r *http.Reques
validator.CommitHash(targetCommit, "commit"),
validator.KernelFilePath(kernelFilePath, "filepath"),
); err != nil {
return err
return fmt.Errorf("%w: %w", err, ErrClientBadRequest)
}
targetDate, err := civil.ParseDate(dateToStr)
if err != nil {
Expand Down

0 comments on commit 9d74f45

Please sign in to comment.