Skip to content

Commit

Permalink
Give more info on docker-compose.yaml error (#2052)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Feb 3, 2020
1 parent d0ceef1 commit be0f12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ddevapp/ddevapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ func (app *DdevApp) ImportFiles(importPath string, extPath string) error {
func (app *DdevApp) ComposeFiles() ([]string, error) {
files, err := filepath.Glob(filepath.Join(app.AppConfDir(), "docker-compose*.y*l"))
if err != nil || len(files) == 0 {
return []string{}, fmt.Errorf("failed to load any docker-compose.*y*l files: %v", err)
return []string{}, fmt.Errorf("failed to load any docker-compose.*y*l files in %s: err=%v", app.AppConfDir(), err)
}

mainfiles, err := filepath.Glob(filepath.Join(app.AppConfDir(), "docker-compose.y*l"))
Expand Down

0 comments on commit be0f12e

Please sign in to comment.