Merge pull request #4758 from witjem/4549-fixed-error-msg

#4549: Added error message if fail unmarshal .flyrc file
This commit is contained in:
Taylor Silva 2019-11-15 14:26:07 -05:00 committed by GitHub
commit f8eaa10def
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}