diff --git a/src/deploy.ts b/src/deploy.ts index dbf19540d..00ba0a417 100644 --- a/src/deploy.ts +++ b/src/deploy.ts @@ -374,7 +374,13 @@ class Deployer { } else { this.effects.clack.log.error( wrapAnsi( - `Could not create app: ${error instanceof Error ? error.message : error}`, + `Could not create app: ${ + isHttpError(error) && error.statusCode === 409 + ? "conflicting slug." + : error instanceof Error + ? error.message + : error + }`, this.effects.outputColumns ) );