display error messages which occured while generating html resume

I experienced some errors generating an html resume and noticed that it was failing silently. I added the same error handling(display error, exit) to match the pdf version.