Skip to content
Snippets Groups Projects
Commit ed1aaa1f authored by Kevin Lyda's avatar Kevin Lyda :speech_balloon:
Browse files

Work on GetConfiguration.

parent 1d1e8558
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -451,7 +451,7 @@ func (gc *GQGMCCounter) readCmd(length uint32) ([]byte, error) {
return nil, err
}
if uint32(n) != length {
return nil, errors.New("Short read")
return nil, fmt.Errorf("Short read (got: %d, wanted: %d)", uint32(n), length)
}
return buf, nil
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment