Skip to content

Commit aaaaebf

Browse files
committed
Updating error message.
1 parent 1738e14 commit aaaaebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

product.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func (product *Product) GetReviews() {
2323
// now = time.Now().UTC()
2424

2525
if err != nil {
26-
log.Error("Encountered error {%s} while vising: %#v", err, product)
26+
log.Error("Encountered error: {", err, "} while fetching reviews for: ", product.Name)
2727
return
2828
}
2929

0 commit comments

Comments
 (0)