change error handling in TextImporter, doesn't die