Skip to content

Throw errors instead of logging to stderr #6

@Nathan-Heller

Description

@Nathan-Heller

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 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeA feature or request that will break the current implementation functionality or contract

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions