chore(sources): wrap error with source string

This commit is contained in:
Quentin McGaw
2022-02-20 03:04:16 +00:00
parent 920ad8b54b
commit ae0334c930
5 changed files with 18 additions and 2 deletions

View File

@@ -23,6 +23,8 @@ func New(warner Warner) *Reader {
}
}
func (r *Reader) String() string { return "environment variables" }
func (r *Reader) Read() (settings settings.Settings, err error) {
settings.VPN, err = r.readVPN()
if err != nil {