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