update failure logs (#2998)
Co-authored-by: aviator-app[bot] <48659329+aviator-app[bot]@users.noreply.github.com>
This commit is contained in:
parent
4087b69a39
commit
dcf5ea2415
@ -144,7 +144,7 @@ func SendStartCorsoEvent(
|
||||
) {
|
||||
bus, err := events.NewBus(ctx, s, tenID, opts)
|
||||
if err != nil {
|
||||
logger.Ctx(ctx).Infow("analytics event failure", "err", err)
|
||||
logger.CtxErr(ctx, err).Info("sending start event")
|
||||
}
|
||||
|
||||
bus.SetRepoID(repoID)
|
||||
|
||||
@ -138,7 +138,7 @@ func (b Bus) Event(ctx context.Context, key string, data map[string]any) {
|
||||
Set(tenantID, b.tenant),
|
||||
})
|
||||
if err != nil {
|
||||
logger.Ctx(ctx).Debugw("analytics event failure", "err", err)
|
||||
logger.CtxErr(ctx, err).Debug("analytics event failure: repo identity")
|
||||
}
|
||||
}
|
||||
|
||||
@ -149,7 +149,7 @@ func (b Bus) Event(ctx context.Context, key string, data map[string]any) {
|
||||
Properties: props,
|
||||
})
|
||||
if err != nil {
|
||||
logger.Ctx(ctx).Info("analytics event failure", "err", err)
|
||||
logger.CtxErr(ctx, err).Info("analytics event failure: tracking event")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user