diff --git a/bin/now-alias b/bin/now-alias index 50def67..9ec1da1 100755 --- a/bin/now-alias +++ b/bin/now-alias @@ -83,7 +83,11 @@ if (argv.help || !subcommand) { try { await run(token); } catch (err) { - error(`Unknown error: ${err.stack}`); + if (err.userError) { + error(err.message); + } else { + error(`Unknown error: ${err.stack}`); + } exit(1); } })