Log error if config contains errors.