Technically, yes, but practically it does feel a little funny that the function eats errors and silently doesn't update strings in the failure case. I'll update it such that it returns any errors encountered, and have the error management handled by the caller.