Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed May 25, 2022
1 parent e754121 commit f3718fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/receive.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ func ReceiveFrame(relay io.Reader, fr *frame.Frame) error {
return errors.E(op, errors.Errorf("CRC verification failed, bad header: %s", fr.Header()))
}

resp, _ := io.ReadAll(relay)
// we don't care about error here
resp, _ := io.ReadAll(relay)

return errors.E(op, errors.Errorf("CRC verification failed, bad header: %s", string(fr.Header())+string(resp)))
}
Expand Down

0 comments on commit f3718fe

Please sign in to comment.