#732 - add error logging if invalid ID is passed to getName