Los Angeles Dodgers pitcher Dustin May’s 2024 season ended over the weekend after he had esophagus surgery, the team said Sunday.

May needed the operation to repair a tear in his esophagus, the team said, adding that he experienced discomfort after a dinner earlier in the week.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Dustin May yells

Los Angeles Dodgers pitcher Dustin May celebrates during the game against the San Diego Padres on May 12, 2023, at Dodger Stadium. (Brian Rothmuller/Icon Sportswire via Getty Images)

The righty sought attention the day after the dinner for pain in his throat and stomach, ESPN reported. He was reportedly diagnosed with a tear in his throat. He will likely be sidelined from anything physical for the next two months, ESPN added.

May was set to have a rehab assignment as he recovered from a second-elbow surgery he had nearly a year ago. He had not appeared in a Dodgers game yet this season.

Injuries have kept May on the sidelines for the last two seasons. He’s made 20 appearances over the last three seasons. He’s recorded 98 strikeouts in 101 innings during those games.

Dustin May walks onto the field

Dustin May of the Los Angeles Dodgers enters the stadium on Opening Day against the St. Louis Cardinals at Dodger Stadium on March 28, 2024. (Sean M. Haffey/Getty Images)

ORIOLES CAPITALIZE ON BIZARRE YANKEES FIELDING MISTAKES TO PULL OFF INCREDIBLE VICTORY

He made his Major League debut in 2019 and was expected to become among the faces to lead the Dodgers’ rotation into a new era as he recorded a 2.57 ERA in 12 games during the coronavirus pandemic-shortened season.

He needed Tommy John surgery in 2021, which kept him out for most of the 2021 and 2022 seasons. He then suffered a flexor tendon injury, which cost him most of the 2023 season.

The Dodgers’ pitching rotation has been decimated with injuries all season long.

Dustin May pitches

Los Angeles Dodgers pitcher Dustin May works against a Padres batter, May 6, 2023, in San Diego. (AP Photo/Gregory Bull)

CLICK HERE TO GET THE FOX NEWS APP

Clayton Kershaw, Yoshinobu Yamamoto, Tyler Glasnow and Walker Buhler are all on the mend. Shohei Ohtani won’t be able to pitch until 2025.

The Associated Press contributed to this report.

Follow Fox News Digital’s sports coverage on X and subscribe to the Fox News Sports Huddle newsletter.