Added an 'import_data' attribute to store the import data when an import fails.