Skip to content
Snippets Groups Projects
Unverified Commit 66edb607 authored by Alex Clemmer's avatar Alex Clemmer Committed by GitHub
Browse files

Merge pull request #220 from tanner-bruce/check-ignored-error

Check error while enumerating environments
parents f941c9d1 b81863fb
No related branches found
No related tags found
No related merge requests found
......@@ -211,6 +211,10 @@ func (m *manager) GetEnvironments() ([]*Environment, error) {
log.Debug("Retrieving all environments")
err := afero.Walk(m.appFS, string(m.environmentsPath), func(path string, f os.FileInfo, err error) error {
if err != nil {
log.Debugf("Failed to walk the path at '%s'", path)
return err
}
isDir, err := afero.IsDir(m.appFS, path)
if err != nil {
log.Debugf("Failed to check whether the path at '%s' is a directory", path)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment