['I really wish I had been able to finish that project yesterday.', "I'm sorry to hear that you couldn't finish it! What couldn't you finish?", "It was a project for work. I was going to get a bonus if I met yesterday's deadline. I could really kick myself about not being able to finish on time."]
Hey you are being too hard on yourself. I'm sure your boss would prefer it done well and not rushed.
I really wish I had been able to finish that project yesterday.