Change error handling logic while importing a row