Skip to content

Commit dd20ea1

Browse files
committed
refactor: log entity url before updating prices
1 parent babde7f commit dd20ea1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/bot/notification.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func updateEntityPrices() {
2424
// For each price agent, update prices and store updated prices in the entity in the database.
2525
// Also update price history with the new prices.
2626
for _, entity := range allEntities {
27-
log.Println("Updating prices for:", entity.Name)
27+
log.Println("Updating prices for:", entity.URL)
2828

2929
// If there are two price agents with the same entity, we currently fetch it twice
3030
updatedEntity, updateErr := geizhals.UpdateEntity(entity)

0 commit comments

Comments
 (0)