Cardi B was forced to perform in a bathrobe after her costume split open on stage.

The "Bodak Yellow" hitmaker suffered a wardrobe malfunction during her set at the Bonnaroo Arts and Music Festival on Sunday night (June 16), but she didn't let it ruin her show. According to fans in attendance, Cardi's colorful, bedazzled jumpsuit ripped open during the first 10 minutes of her performance as she was twerking.

“I just wanna let y’all know that my outfit rip,” she told the crowd before running off stage and returning a few minutes later in a fluffy white bathrobe. "We gonna keep it moving, baby. We gonna keep it sexy."

"I don’t know how in this f---ing robe, but we gonna do it!” she added.

And folks, she kept her promise. The outfit change clearly didn’t slow Cardi down one bit because she played up the robe by pouring water on her head and showing off her nude bra and leg tattoo.

This isn't the first wardrobe malfunction Cardi has suffered from in last few months. Back in May, fans thought they saw her private parts when she walked the red carpet at the 2019 Billboard Music Awards with husband Offset. However, soon after the show was over, Cardi gave everyone a quick lesson on a woman's anatomy.

“Y’all motherf---ers going around with this f---ing picture Photoshopping it even more like, ‘Oh Cardi p--sy, Cardi p--sy,’” she said in a video posted to her Instagram Story. “First of all, that ain’t my p--sy. My p--sy right here. This where I birthed my daughter from. This right here, the part that shows when I go like this, that’s just my a--."

Moral of the story: Cardi B knows how to handle anything.