Send error email on failed migration