Skip to content

Commit

Permalink
protovalidate: CEL evaluation error is an Internal error
Browse files Browse the repository at this point in the history
  • Loading branch information
ash2k committed Aug 16, 2024
1 parent 69beab3 commit 50c11b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interceptors/protovalidate/protovalidate.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ func validateMsg(m interface{}, validator *protovalidate.Validator, opts *option
return ds.Err()
}
// CEL expression doesn't compile or type-check.
return status.Error(codes.Unknown, err.Error())
return status.Error(codes.Internal, err.Error())
}

0 comments on commit 50c11b8

Please sign in to comment.