Log error instead of throwing exception. Refs #8719.

- As catalogPublish uses a custom dialog, throwing an exception causes Mantid to show a fatal error message.
Merge branch 'feature/8719_icat_dialog_hang' into develop. Refs #8719.

Conflicts:

- Code/Mantid/Framework/ICat/src/ICat4/ICat4Catalog.cpp