Skip to content

Commit f1eb187

Browse files
committed
correctly display env var errors while indexing
1 parent 5919a5f commit f1eb187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli-v3/src/entryPoints/deploy-index-controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ async function indexDeployment({
6161
const $env = await cliApiClient.getEnvironmentVariables(projectRef);
6262

6363
if (!$env.success) {
64-
throw new Error(`Failed to fetch environment variables: ${env.error}`);
64+
throw new Error(`Failed to fetch environment variables: ${$env.error}`);
6565
}
6666

6767
const workerManifest = await indexWorkerManifest({

0 commit comments

Comments
 (0)