Skip to content

Commit

Permalink
fix: improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Jan 10, 2024
1 parent 0885c29 commit 6b658eb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/action.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ async function action(
setLabels(octokit, owner, repo, prMetadata.number, [
config.labels['missing-tracker'],
]);
raise(`🔴 Missing tracker or Unknown tracker type: '${trackerType}'`);
raise(
`🔴 Missing tracker or Unknown tracker type; type: '${trackerType}'`
);
}

let message: string[] = [];
Expand Down

0 comments on commit 6b658eb

Please sign in to comment.