Read the sentence to find out whether there is any grammatical error in it
He wanted to work all night
but we saw that he was completely worn
and so we persuaded him to stop.
No error.