Skip to content

Commit 7e6ec2f

Browse files
committed
changed debug message to error message for unknown behavior error
1 parent eb612a5 commit 7e6ec2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/installer/root.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ func InitializeCache() error {
572572
}
573573
pdscXML := xml.NewPdscXML(pdscFilePath)
574574
if err := pdscXML.Read(); err != nil {
575-
log.Debugf("Could not retrieve pack's PDSC file from %q", pdscFilePath)
575+
log.Errorf("Could not retrieve pack's PDSC file from %q", pdscFilePath)
576576
return errs.ErrUnknownBehavior
577577
}
578578
releaseTag := pdscXML.FindReleaseTagByVersion("")
@@ -2117,7 +2117,7 @@ func (p *PacksInstallationType) downloadPdscFile(pdscTag xml.PdscTag, skipInstal
21172117

21182118
pdscXML := xml.NewPdscXML(pdscFilePath)
21192119
if err := pdscXML.Read(); err != nil {
2120-
log.Debugf("Could not retrieve pack's PDSC file from %q", pdscFilePath)
2120+
log.Errorf("Could not retrieve pack's PDSC file from %q", pdscFilePath)
21212121
return errs.ErrUnknownBehavior
21222122
}
21232123
releaseTag := pdscXML.FindReleaseTagByVersion("")

0 commit comments

Comments
 (0)