elixir-toniq / vapor

Runtime configuration system for Elixir
MIT License
592 stars 36 forks source link

Say which env vars are missing in the error and expose that. #46

Closed derekkraan closed 4 years ago

derekkraan commented 5 years ago

This replaces {:error, :could_not_load_config} with {:error, {:could_not_load_config, "ENV vars not set: FOO, BAR"}}, saves time trying to puzzle out which ones are really missing.

keathley commented 5 years ago

This looks great @derekkraan :+1:.

sgnl commented 4 years ago

This will be tremendously helpful :)

keathley commented 4 years ago

This has been merged into master