The quarterback was typically unpredictable in his play as he threw four touchdown passes and two interceptions.
However, the second of two TD passes for rookie Jahan Dotson put Wentz's new team in a position to win and showed why he has the trust of Rivera.
"I'll take antacids," Rivera said. "We're going to ride with him, we'll go with the good, we'll go with the bad.
"We did a lot of research on him, and we felt comfortable and confident that this is a guy we need around here, a guy that has some courage."
Wentz added: "I've played a lot of football, I've seen the ups and the downs.
"I know from the past trying to do too much in those situations can come back to haunt you. I believed in them and guys made plays when it mattered."