Error handling in migration to new quality