mappjzc commented on code in PR #4939:
URL: 
https://github.com/apache/incubator-devlake/pull/4939#discussion_r1168330464


##########
backend/plugins/refdiff/tasks/deployment_commit_diff_calculator.go:
##########
@@ -114,6 +114,7 @@ func CalculateDeploymentCommitsDiff(taskCtx 
plugin.SubTaskContext) errors.Error
                if err != nil {
                        return err
                }
+               batch_save.Flush()

Review Comment:
   why here flush again and not catch the error?



-- 
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