If there was an error during import, throw it