Catch and log exception if the host doesn't exist.