For #25672 - Primary pre-publish errors are now displayed in the UI.

Previously, the user was informed that there were errors but the actual errors were never displayed - this has been fixed!