keon94 opened a new issue, #2134:
URL: https://github.com/apache/incubator-devlake/issues/2134

   ## What and why to refactor
   Many plugin subtasks directly return errors without adding any extra context 
to the message. This makes troubleshooting difficult. For example, 
[this](https://github.com/apache/incubator-devlake/blob/0d3aa41e5e3db60e7ddfd3c3835f40e8c1c8eeb4/plugins/github/tasks/pr_commit_extractor.go#L85),
 which might produce a Json unmarsal error, needs to have a message that 
additionally tells us something like "unable to get Input while extracting pull 
request commits".
   
   ## Describe the solution you'd like
   Identify all such plugin subtasks and wrap the error messages with more 
context.
   
   ## Related issues
   Similar to #1447 
   ## Additional context
   n/a
   


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