mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-11 02:13:49 +09:00
Add logs
This commit is contained in:
parent
cdacae232e
commit
217b6fc30b
1 changed files with 2 additions and 0 deletions
|
@ -209,8 +209,10 @@ func (d *diffSyncer) sendPushSpaceRequest(ctx context.Context, peerId string, cl
|
|||
Credential: cred,
|
||||
})
|
||||
if err != nil {
|
||||
d.log.WarnCtx(ctx, "space push failed", zap.Error(err))
|
||||
return
|
||||
}
|
||||
d.log.InfoCtx(ctx, "space push completed successfully")
|
||||
if e := d.subscribe(ctx, peerId); e != nil {
|
||||
d.log.WarnCtx(ctx, "error subscribing for space", zap.Error(e))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue