Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
This commit is contained in:
kasey 2022-03-24 13:32:39 -05:00 committed by GitHub
parent 165f0667f0
commit acd7e62cfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ func ValidateSync(ctx context.Context, syncChecker sync.Checker, headFetcher blo
err := grpc.AppendCustomErrorHeader(ctx, syncDetailsContainer)
if err != nil {
return status.Errorf(
codes.InvalidArgument,
codes.Internal,
"Syncing to latest head, not ready to respond. Could not prepare sync details: %v",
err,
)