satellite/compensation: don't abort entirely if a node isn't found
Change-Id: I1066fb6a281eece892ad179a24b01b2ff6615fe7
This commit is contained in:
parent
2dddcffe43
commit
d955946f15
@ -57,7 +57,8 @@ func generateInvoicesCSV(ctx context.Context, period compensation.Period, out io
|
||||
|
||||
node, err := db.OverlayCache().Get(ctx, usage.NodeID)
|
||||
if err != nil {
|
||||
return err
|
||||
zap.L().Warn("failed to get node, skipping", zap.String("nodeID", usage.NodeID.String()), zap.Error(err))
|
||||
continue
|
||||
}
|
||||
var gracefulExit *time.Time
|
||||
if node.ExitStatus.ExitSuccess {
|
||||
|
Loading…
Reference in New Issue
Block a user