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

Provide better error messaging when env vars are missing in production #2086

Open
Martinsos opened this issue Jun 6, 2024 · 2 comments
Open
Labels
deployment shouldfix We should do/fix this at some point

Comments

@Martinsos
Copy link
Member

Spin off based on this coment: #175 (comment) .

Wasp should also be checking for required env vars when deployed to production. It happens sometimes to Wasp users that they forget about an env var once they deploy a Wasp app, and then those errors manifest in weird ways, and they have hard time debugging them.
If Wasp server (or client), when deployed, detected that these vars are missing, logged about it and if needed even crashed, it would be very clear that there is an issue and what it is.

We had multiple people have trouble with this, here is one of the related Discord convos: https://discord.com/channels/686873244791210014/1241745021955473548/1247977812229357668 .

@Martinsos Martinsos added deployment shouldfix We should do/fix this at some point labels Jun 6, 2024
@Martinsos
Copy link
Member Author

@Martinsos
Copy link
Member Author

One more issue with this https://discord.com/channels/686873244791210014/1250104524014616626/1250124996576284693 , i am sending it back to triage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment shouldfix We should do/fix this at some point
Projects
None yet
Development

No branches or pull requests

1 participant