Changing exceptions to LogErrors where appropriate

Forward-port of #5803 
should this logError not be inside an "else" or something ?