Enhance error reporting for automigrate/autoupdate