fix: logs fix
This commit is contained in:
@@ -120,6 +120,9 @@ func (p *PushSender) SendToUser(ctx context.Context, userID string, payload Push
|
|||||||
zap.String("body", respBody))
|
zap.String("body", respBody))
|
||||||
default:
|
default:
|
||||||
sent++
|
sent++
|
||||||
|
p.logger.Debug("push: sent",
|
||||||
|
zap.String("user", userID),
|
||||||
|
zap.String("host", endpointHost(s.Endpoint)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
p.logger.Debug("push: delivery summary",
|
p.logger.Debug("push: delivery summary",
|
||||||
|
|||||||
Reference in New Issue
Block a user