Skip to content

Commit

Permalink
fix(connectors): string formatting for message type
Browse files Browse the repository at this point in the history
  • Loading branch information
reugn committed Jun 21, 2024
1 parent 096ebca commit 62d4066
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 62d4066

Please sign in to comment.