Skip to content

Commit

Permalink
fix(connectors): string formatting for message type (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
reugn authored Jun 22, 2024
1 parent 096ebca commit b920e3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aerospike/aerospike.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ loop:
log.Printf("Error parsing bin map: %s", err)
}
default:
log.Printf("Unsupported message type %v", message)
log.Printf("Unsupported message type: %T", message)
}
case <-flushTickerChan:
as.flushBuffer()
Expand Down
2 changes: 1 addition & 1 deletion extension/net.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (ns *NetSink) init() {
writer.Flush()
}
default:
log.Printf("NetSink unsupported message type %v", m)
log.Printf("NetSink unsupported message type: %T", m)
}
}

Expand Down
2 changes: 1 addition & 1 deletion websocket/web_socket.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (wsock *Sink) init() {
case []byte:
err = wsock.connection.WriteMessage(ws.BinaryMessage, m)
default:
log.Printf("Unsupported message type %v", m)
log.Printf("Unsupported message type: %T", m)
}

if err != nil {
Expand Down

0 comments on commit b920e3e

Please sign in to comment.