Error handling for importer.