Skip to content

Commit 046a753

Browse files
committed
feat: better error message when WOKWI_CLI_TOKEN is missing
add a link to the page where you can generate CI tokens.
1 parent 4ea700f commit 046a753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async function main() {
6767
const token = process.env.WOKWI_CLI_TOKEN;
6868
if (token == null || token.length === 0) {
6969
console.error(
70-
`Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token.`
70+
`Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token. Get your token at https://wokwi.com/dashboard/ci.`
7171
);
7272
process.exit(1);
7373
}

0 commit comments

Comments
 (0)