Better failure messages in batch importer