Added logging of topology errors.