]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/server.go
Use client logger
[rbdr/mobius] / hotline / server.go
index 9cec83bd793276245f1e09c42fa08a9c00b0fb1a..a91e1c817b5f0b2656d0c22704f8544704626eb3 100644 (file)
@@ -638,7 +638,7 @@ func (s *Server) handleNewConnection(ctx context.Context, conn net.Conn, remoteA
                // into a slice of transactions
                var transactions []Transaction
                if transactions, tReadlen, err = readTransactions(tranBuff); err != nil {
-                       c.Server.Logger.Errorw("Error handling transaction", "err", err)
+                       c.logger.Errorw("Error handling transaction", "err", err)
                }
 
                // iterate over all the transactions that were parsed from the byte slice and handle them