aboutsummaryrefslogtreecommitdiff
path: root/hotline/server.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2022-06-21 14:03:10 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2022-06-21 14:03:10 -0700
commit0fcfa5d54b166559c0ca31932a71a7eabb79c72c (patch)
treeb9bb721f102640daf5c0ca02a77f7e5cfcdb284c /hotline/server.go
parent9c6291aa00db7b7e1d262e0465bfc7e08fc28807 (diff)
Use client logger
Diffstat (limited to 'hotline/server.go')
-rw-r--r--hotline/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hotline/server.go b/hotline/server.go
index 9cec83b..a91e1c8 100644
--- a/hotline/server.go
+++ b/hotline/server.go
@@ -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