flutter_dotenv
flutter_dotenv copied to clipboard
Throw errors instead of logging to stderr
In a number of instances, the DotEnv package logs to stderr when an error occurs, instead of throwing an ecxeption
This seems to at least partially stem from the original repo. I am not sure this issue still applies; I know it does not for the project I am utilizing this package in.
It seems more valuable to have this package throw errors that the application can handle directly, instead of needing to react to side-effects. This would make it easier to find the source of issues, and/or give the application a better chance to recover.
Thanks to @java-james for the swift response to my email and opening up the issue tracker 👍
@Nathan-Heller I think this will be useful to consumers and will look at implementing this as a breaking change.