WEBSITE-124 Aborting publishing process in case of errors during generat...

...ion