From 7d9ffcb45b4af93460049abb24dcd7da485ef1de Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Mon, 30 May 2016 09:11:12 -0700 Subject: [PATCH] tweak error messages --- lib/alias.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/alias.js b/lib/alias.js index 3b953b1..41eb255 100644 --- a/lib/alias.js +++ b/lib/alias.js @@ -160,13 +160,13 @@ export default class Alias extends Now { const code = body.error.code; if ('custom_domain_needs_upgrade' === code) { - const err = new Error(`You are attempting to use a custom domain alias (${chalk.underline(chalk.cyan(alias))}), but this is only enabled for premium accounts. Please upgrade at ${chalk.underline('https://zeit.co/account')}`); + const err = new Error(`Custom domains are only enabled for premium accounts. Please upgrade at ${chalk.underline('https://zeit.co/account')}.`); err.userError = true; return bail(err); } if ('alias_in_use' === code) { - const err = new Error(`The alias you are trying to configure (${chalk.underline(chalk.cyan(alias))}) is already in use by a different account.`); + const err = new Error(`The alias you are trying to configure (${chalk.underline(chalk.bold(alias))}) is already in use by a different account.`); err.userError = true; return bail(err); }