Skip to content

Commit f529a30

Browse files
committed
Fix error message for forbidden error
1 parent bec1e51 commit f529a30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/error-handler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ export const handleError = async (error: Error) => {
3939
break;
4040
case QiitaForbiddenError.name:
4141
console.error(chalk.red.bold("Qiita APIへのリクエストに失敗しました"));
42+
console.error(chalk.red(" 記事ファイルに不備がないかご確認ください"));
4243
console.error(
43-
chalk.red(" Qiitaのアクセストークンが正しいかご確認ください"),
44+
chalk.red(" または、Qiitaのアクセストークンが正しいかご確認ください"),
4445
);
4546
console.error(chalk.red(""));
4647
break;

0 commit comments

Comments
 (0)