You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result is that errors are reported, however. I think it's because the values in the excluded_envs configuration option are atoms, but when configured via an environment variable the env config option is a string.
I think that when reading the MIX_ENV environment variable we should convert it to an atom, since that seems to be what Mix does. Another option might be to get the value from Mix.env rather than the environment variable itself.
The text was updated successfully, but these errors were encountered:
Running the phoenix server like this, no errors should be reported because dev is an excluded env:
The result is that errors are reported, however. I think it's because the values in the
excluded_envs
configuration option are atoms, but when configured via an environment variable theenv
config option is a string.I think that when reading the MIX_ENV environment variable we should convert it to an atom, since that seems to be what
Mix
does. Another option might be to get the value fromMix.env
rather than the environment variable itself.The text was updated successfully, but these errors were encountered: