diff --git a/tcp-client.go b/tcp-client.go index df6c0b1..527a1f9 100644 --- a/tcp-client.go +++ b/tcp-client.go @@ -111,7 +111,7 @@ func (tc *TCPClient) Run() error { slog.Debug("router context done in module", "id", tc.config.Id) return nil } - slog.Error(err.Error()) + slog.Error("net.tcp.client", "id", tc.config.Id, "error", err.Error()) time.Sleep(time.Second * 2) continue }