migration: add error_report