This commit is contained in:
2026-10-03 01:18:55 +07:00
parent c69dfb8503
commit 52e5ec6576
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ func (s *server) DownloadTeamQR(ctx context.Context, req *proto.GetGameReq) (*ht
case errors.Is(err, team_service.ErrNoCards):
return nil, status.Error(codes.FailedPrecondition, err.Error())
default:
return nil, status.Error(codes.Internal, err.Error())
return nil, status.Error(codes.Internal, "не удалось сформировать PDF с QR-кодами")
}
}
if err := grpc.SetHeader(ctx, metadata.Pairs(