Hi,
So here is my advice, I understand your boss is giving you hard time but you have to tolerate that for a little while and stay strong ok, you have come this far and there is no way you should throw it all out now.
Whenever your boss is hard on you just say " im sorry , it wont happen...