8345fe006e
We check for (metasNeeded.length == 0) at the beginning of the function, which is only ever called when when a non-zero number of results is received back from the provider. Effectively, this means that (metas.length != metasNeeded.length) will also catch (metas.length == 0) and print a nicer message to the log.