warren830 commented on code in PR #4301:
URL: 
https://github.com/apache/incubator-devlake/pull/4301#discussion_r1116527197


##########
backend/helpers/pluginhelper/csv_file_iterator.go:
##########
@@ -67,21 +74,30 @@ func (ci *CsvFileIterator) Close() {
 
 // HasNext returns a boolean to indicate whether there was any row to be 
`Fetch`
 func (ci *CsvFileIterator) HasNext() bool {
+       hasNext, err := ci.HasNextWithError()
+       if err != nil {
+               panic(err)

Review Comment:
   Do we also need to change this to return err?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to