Wolves boss Nuno Espirito Santo criticises his under-performing side after they finally beat Shrewsbury in the FA Cup.
The defender continued to haunt the Shrews having also scored the injury-time leveller in the 2-2 draw in Shropshire last month.
James Bolton and Josh Laurent, after John Ruddy's gaffe, had put the Shrews 2-1 ahead in the first half before Wolves recovered but Nuno remained unimpressed.
He said: "I'm not happy with the performance but happy because we got to the fifth round.
"This is the most important (thing) but we have to look at the game and see it was not one of the best performances.
"Everybody is aware of that. It's job done. Football has these things and you can't always control them, you have to react to them.
"There are a lot of things we have to work on on the training ground and get better at.
"We pick always a strong XI. The idea is always to have a good XI. Today some players did well but I expect more from them. We have to improve a lot of things. We have to work on the training ground."
Sky Bet League One Shrewsbury, 60 places below gave their Premier League hosts, gave Wolves another scare at Molineux.
Doherty scored after 78 seconds but Bolton's header and Laurent's strike, after Ruddy spilt his shot, threatened an upset.
But Doherty headed home in first-half stoppage time before Cavaleiro's fourth goal of the season, when he cut inside to score, won it after 62 minutes.
Boss Sam Ricketts, who captained Wolves to the League One title in 2014, was proud of his side but felt Cavaleiro's goal should have been ruled out.
He said: "It's a clear foul. You can't put two arms around my player's waist, pull him out of the way and push him to one side.
"It's a foul. I've not seen what VAR saw and their angles, but it's a foul. I saw it from my angles and it's a foul so that disappoints me more than anything.
"If we're going to have video technology, let's get it right.
"My main emotion is pride. At home, I always felt we had a chance and that proved to be the case and it was just a last-minute goal that cost us.
"Coming here is a different kettle of fish. The pitch is big and very good and allows Wolves to move the ball really well."