diff --git a/lib/utils/error-helper.ts b/lib/utils/error-helper.ts index ac87b4393..95c670780 100644 --- a/lib/utils/error-helper.ts +++ b/lib/utils/error-helper.ts @@ -8,6 +8,7 @@ export const errorHandler = function(this: Command, err: Error): void { console.error(chalk.red(`⚠️ 发生错误`)); console.error(chalk.red(`⚠️ ${err.name}: ${err.message}`)); console.error('⚠️ 版本号: %s', require('../../package.json').version); + console.error('⚠️ 常见问题: %s', chalk.cyan('https://bit.ly/2KVLjvZ')); console.error('⚠️ 加入交流群汇报问题 %s', chalk.cyan('https://t.me/surgiotg')); console.error(); console.error(chalk.red(err.stack));