diff --git a/internal/commands/places.go b/internal/commands/places.go index 4726f7950..60a30b2c3 100644 --- a/internal/commands/places.go +++ b/internal/commands/places.go @@ -15,17 +15,17 @@ import ( // PlacesCommand registers the places subcommands. var PlacesCommand = cli.Command{ Name: "places", - Usage: "Geolocation data subcommands", + Usage: "Location information subcommands", Subcommands: []cli.Command{ { Name: "update", - Usage: "Fetches updated location infos", + Usage: "Fetches updated location data", Action: placesUpdateAction, }, }, } -// placesUpdateAction fetches updated location infos. +// placesUpdateAction fetches updated location data. func placesUpdateAction(ctx *cli.Context) error { start := time.Now() diff --git a/internal/entity/cell.go b/internal/entity/cell.go index d881566df..30fca69a1 100644 --- a/internal/entity/cell.go +++ b/internal/entity/cell.go @@ -83,7 +83,7 @@ func (m *Cell) Refresh(api string) (err error) { // Find existing place by label. if err := UnscopedDb().Where("place_label = ?", l.Label()).First(&place).Error; err != nil { - log.Error(err) + log.Tracef("places: %s for cell %s", err, m.ID) place = &Place{ID: m.ID} } else { log.Tracef("places: found matching place %s for cell %s", place.ID, m.ID)