d4x1 opened a new pull request, #6306:
URL: https://github.com/apache/incubator-devlake/pull/6306

   ### ⚠️ Pre Checklist
   
   > Please complete _ALL_ items in this checklist, and remove before submitting
   
   - [x] I have read through the [Contributing 
Documentation](https://devlake.apache.org/community/).
   - [x] I have added relevant tests.
   - [x] I have added relevant documentation.
   - [x] I will add labels to the PR, such as `pr-type/bug-fix`, 
`pr-type/feature-development`, etc.
   
   <!--
   Thanks for submitting a pull request!
   
   We appreciate you spending the time to work on these changes.
   Please fill out as many sections below as possible.
   -->
   
   ### Summary
   What does this PR do?
   If type assertion failed, it will return nil and this causes data that less 
then the batch size will be ignored.
   This pr just fix it.
   1. return an error if type assertion fails.
   2. fix the type assertion, make sure gitextractor can be closed as expected.
   
   ### Does this close any open issues?
   Closes N/A
   
   ### Screenshots
   Include any relevant screenshots here.
   <img width="836" alt="image" 
src="https://github.com/apache/incubator-devlake/assets/5844806/9ef415a0-d29c-4521-a34f-9c731654b706";>
   
   
   ### Other Information
   Any other information that is important to this PR.
   


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