Giants outfielder Hunter Pence's defensive miscue in the sixth inning spoiled teammate Johnny Cueto's bid for a no-hitter, though San Francisco beat the Dodgers 5-4.