Have you considered making it part of the result instead/as well? So its possible to test, if one of the names failed?

Wouldn't it be logical to return all the results generated as well?