Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[DependencyInjection] feat(env processor): add doc/help onAPP_SECRET
env var not found exception#57422
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
APP_SECRET
env var missing exceptionAPP_SECRET
env var missing exceptionAPP_SECRET
env var not found exceptionAPP_SECRET
env var not found exceptionAPP_SECRET
env var not found exception👎 on my side, that's way too specific. I mentioned an approach that could work insymfony/recipes#1314 (comment), but we first need to be sure this needs to be improved. At the moment, the env var is needed only when activating one of the features listed in my comment there. A better place to tell about the feature could be in the documentation of those features. |
thx for stopping here and commenting for the doc part, I tend to agree as well even if now I dont know were to document this specific use case |
Closing as this approach is not the one we'll want to merge. |
APP_SECRET
env var that now may be undefinedHey, I've followed recently the work on this topic, ref one of my try onrelated issue
I tend to agree that, just throwing an ex here can be problematic/inappropriate, mostly for newcomers that never have read a thing related to this
Symfony .env APP_SECRET
Here is one attempt to fill the comment#56985 (comment)
Friendly ping@javiereguiluz@nicolas-grekas do you have a better wording/phrasing and is it the best place?
For documentation inside the doc repo, I have no idea where to define such message, any idea ?
in the env config part? or in the vault part? elsewhere?
refsymfony/symfony-docs#19916