Skip to content

Commit

Permalink
end session more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Termina1 committed Nov 29, 2024
1 parent 234216f commit d5462bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chotki.go
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ func (cho *Chotki) drain(ctx context.Context, recs protocol.Records) (err error)
noApply = true

case 'B': // bye dear
cho.log.InfoCtx(ctx, "received session end", "id", id.String())
cho.log.InfoCtx(ctx, "received session end", "id", id.String(), "data", string(body))
cho.syncs.Delete(id)
case 'P': // ping noop
default:
Expand Down

0 comments on commit d5462bf

Please sign in to comment.