minor fix

This commit is contained in:
therecipe 2017-01-12 15:42:30 +01:00 committed by GitHub
parent e4200d2e4d
commit fd7b65bc3c

View file

@ -49,7 +49,7 @@ func QT_VERSION() string {
componentsFilename := filepath.Join(filepath.Clean(dir), "components.xml")
fh, err := os.Open(componentsFilename)
if err != nil {
Log.Debugf(err, "couldn't open %s", componentsFilename)
Log.WithError(err).Debugf("couldn't open %s", componentsFilename)
return defaultVersion
}
defer fh.Close()