I was going to say what Reha said.
If it’s a habit (like smoking, dating, clubbing…) that he use to have but **he changed ** then I’d give him a chance. He’s not obligated to share everything and neither are you because everyone has a past and it matters less when the people involved have changed for the better. But things that can affect the future of the marriage should be shared… like education (it’s related to a job), kids, previous marriages, medical illness, STDs, etc.
Now that you know the truth, ask him what made him lie or hide whatever it was.