Will Smith entered the 2019 MLB All-Star Game on Tuesday, and was greeted rudely by Joey Gallo.

The Giants closer was called on with two outs in the bottom of the seventh inning to try to retire the Rangers' left-handed slugging outfielder. It didn't go well.

Gallo deposited Smith's first pitch into the right-field seats in Cleveland for a solo home run to give the American League a 4-1 lead.

Smith was able to recover and got Indians shortstop Francisco Lindor to ground out to end the inning.

But it's not the way Smith had hoped his All-Star debut would go.

[RELATED: How Smith went from Tommy John to All-Star]

Smith earned the Giants' only All-Star nod with a 1.98 ERA and 23 saves this season.

With the Giants looking to deal Smith before the July 31 trade deadline, giving up a homer to a left-handed hitter on a national stage is not what they wanted to see. It won't necessarily hurt his trade value, but it's not a good visual for interested teams to have.