diff --git a/client/components/domains/register-domain-step/index.jsx b/client/components/domains/register-domain-step/index.jsx index 75ab5cfec36685..4ea92a89d9cb90 100644 --- a/client/components/domains/register-domain-step/index.jsx +++ b/client/components/domains/register-domain-step/index.jsx @@ -169,9 +169,11 @@ const RegisterDomainStep = React.createClass( { } ).catch( error => { if ( error && error.statusCode === 503 ) { return this.props.onDomainsAvailabilityChange( false ); - } else if ( error ) { - throw error; + } else if ( error && error.error ) { + error.code = error.error; + this.showValidationErrorMessage( initialQuery, error ); } + this.setState( { defaultSuggestions: [] } ); } ); },