You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got EOF before the real end of my file and reason is that the scanned line exceeded the size of the buffer (bufio.MaxScanTokenSize) So the scanner return false but sets the error into the scanner.Err() return
file pkg/jsonl/iterator.go
In the iterator you don't check if the scanner has an error
//line 92
if it.Scanner.Scan() {
// parse line code
}
// Here you have to check it.Scanner.Err()
// line 122 return nil, io.EOF
The text was updated successfully, but these errors were encountered:
I got EOF before the real end of my file and reason is that the scanned line exceeded the size of the buffer (bufio.MaxScanTokenSize) So the scanner return false but sets the error into the scanner.Err() return
file pkg/jsonl/iterator.go
In the iterator you don't check if the scanner has an error
//line 92
if it.Scanner.Scan() {
// parse line code
}
// Here you have to check it.Scanner.Err()
// line 122 return nil, io.EOF
The text was updated successfully, but these errors were encountered: