Skip to content

Commit

Permalink
get more informations from reading error
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeantet committed May 21, 2016
1 parent 3a8d560 commit 5057261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (c *client) serve() {
message, err := messagePacket.readMessage()

if err != nil {
log.Printf("Error reading Message : %s", err.Error())
log.Printf("Error reading Message : %s\n\t%x", err.Error(), messagePacket.bytes)
continue
}
log.Printf("<<< %d - %s - hex=%x", c.Numero, message.ProtocolOpName(), messagePacket)
Expand Down

0 comments on commit 5057261

Please sign in to comment.