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

if decryption fails for the user because of a bad/incorrectly set DOTENV_KEY give the user better help #39

Closed
motdotla opened this issue Jan 21, 2024 · 3 comments

Comments

@motdotla
Copy link
Contributor

motdotla commented Jan 21, 2024

for example tell them to run echo $DOTENV_KEY so they can view the current value. a friend had a hard time debugging this. turns out they had a global DOTENV_KEY set in their zshrc file. as soon as i got on the phone with them and told them to run echo $DOTENV_KEY to see what it looked like, their brain instantly remember they had hardcoded it in their zshrc file. adding that sort of help might help others connect the dots faster in their minds like that.

@motdotla
Copy link
Contributor Author

this lives in dotenv. this PR will help when released: motdotla/dotenv#795

@motdotla
Copy link
Contributor Author

that PR is ready so will update dotenvx to make use of it soon

@motdotla
Copy link
Contributor Author

#40

Screenshot 2024-01-24 at 3 02 50 PM

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

No branches or pull requests

1 participant