Merge pull request #4758 from witjem/4549-fixed-error-msg
#4549: Added error message if fail unmarshal .flyrc file
This commit is contained in:
commit
f8eaa10def
|
@ -185,7 +185,7 @@ func LoadTargets() (*targetDetailsYAML, error) {
|
|||
}
|
||||
err = yaml.Unmarshal(flyTargetsBytes, &flyTargets)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
return nil, fmt.Errorf("in the file '%s': %s", flyrc, err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue