gos7 icon indicating copy to clipboard operation
gos7 copied to clipboard

errIsoInvalidDataSize

Open Barpfotenbaer opened this issue 1 year ago • 0 comments

Hi,

although AGReadDB works very well, we occasionally get the following error message in combination with the memory content:

errIsoInvalidDataSize xyz…

Obviously the message was thrown from file client.go in line 232:

if err == nil {
	fmt.Printf("errIsoInvalidDataSize:%v", string(response.Data))
	if size := len(response.Data); size < 25 {
		err = fmt.Errorf(ErrorText(errIsoInvalidDataSize)+"'%v'", len(response.Data))
	} else { …		

Perhaps it is a forgotten debug trap, or what's the sense to report the data length here as an error, although previously err == nil was the condition?

Thank you very much for your great job with gos7!!!

Barpfotenbaer avatar Feb 14 '25 10:02 Barpfotenbaer