Skip to content

Commit 6da0ef2

Browse files
authored
removed clan error logs (#169) (#170)
1 parent 177e482 commit 6da0ef2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

internal/logic/snapshots.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,7 @@ func RecordAccountSnapshots(ctx context.Context, wgClient wargaming.Client, dbCl
163163
go func() {
164164
defer group.Done()
165165
// clans are optional-ish
166-
data, err := wgClient.BatchAccountClan(ctx, realm, accountsNeedAnUpdate)
167-
if err != nil && err.Error() != "SOURCE_NOT_AVAILABLE" {
168-
log.Err(err).Msg("failed to get batch account clans")
169-
}
166+
data, _ := wgClient.BatchAccountClan(ctx, realm, accountsNeedAnUpdate)
170167
clans = data
171168
}()
172169

0 commit comments

Comments
 (0)