Recognise errors from the publish endpoint and notify user the process failed.
Recognise errors from the publish endpoint and notify user the process failed.


Former-commit-id: bb15cb63528aebc2c5c11239b22cab4395afcadc
ONSdigital/florence,ONSdigital/florence,ONSdigital/florence,ONSdigital/florence