adds new build and correct error log

This commit is contained in:
Seraphim Strub 2023-03-06 18:27:58 +01:00
parent 3a3dea453d
commit fcff591655
4 changed files with 7 additions and 15 deletions

View file

@ -102,7 +102,7 @@ func (e EpicStruct) load() error {
productSlug = element.OfferMappings[0].PageSlug
}
if productSlug == "" {
log.Error(fmt.Sprintf("product slug not found for: %v", element.Title))
log.Errorf("product slug not found for: %v", element.Title)
continue
}