Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error message when env vars aren't set in CI #1049

Open
jaclarke opened this issue Jul 1, 2024 · 0 comments
Open

Better error message when env vars aren't set in CI #1049

jaclarke opened this issue Jul 1, 2024 · 0 comments

Comments

@jaclarke
Copy link
Member

jaclarke commented Jul 1, 2024

If the env vars needed for the client to connect aren't set in CI/whatever deploy platform, then edgedb-js currently shows the Found edgedb.toml but project is not initialized. Run 'edgedb project init'. error message, which is misleading.

Instead if we can detect we're in CI, then the error message should have instructions for configuring the env vars (EDGEDB_INSTANCE+EDGEDB_SECRET_KEY for cloud, or probably EDGEDB_DSN for self hosted).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant