]> git.giacomolli.uk - onechat/blobdiff - turn.go
Check Go names and declarations with revive
[onechat] / turn.go
diff --git a/turn.go b/turn.go
index e490068659da9fc4194a4f6eeb04a851ac464dee..40645b100ca8fb3aca74d8a064eed4110c890a07 100644 (file)
--- a/turn.go
+++ b/turn.go
@@ -329,7 +329,7 @@ func (l *TurnLoop) turn(ctx context.Context) error {
        err := l.chain(ctx)
        if err != nil && !errors.Is(err, errChainLogWrite) {
                if ctx.Err() == nil {
-                       l.logger.Printf("the turn stops before its end, and the agent waits for the next message: %v", err)
+                       l.logger.Printf("turn failed: %v", err)
                }
 
                l.notify(Event{