diff --git a/src/lib/site-import/status.ts b/src/lib/site-import/status.ts index 7481c0d94..37e174539 100644 --- a/src/lib/site-import/status.ts +++ b/src/lib/site-import/status.ts @@ -170,6 +170,20 @@ The server said: message += 'Please contact support and include this message along with your sql file.'; } + break; + case 'update_primary_domain': + message += `\nThis error occurred during the update of the primary domain. + +${ rollbackMessage } +`; + if ( importFailed.commandOutput ) { + const commandOutput = ( [] as string[] ).concat( importFailed.commandOutput ).join( ';' ); + message += ` +Please inspect your input file and make the appropriate corrections before trying again. +The server said: +> ${ chalk.red( commandOutput ) } +`; + } break; default: }