You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "keon94 (via GitHub)" <gi...@apache.org> on 2023/01/26 21:48:33 UTC

[GitHub] [incubator-devlake] keon94 opened a new issue, #4254: [Bug][Framework] Http Async error broken message

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

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   This sort of error can be seen in server logs
   
   ```
   time="2023-01-26 18:00:04" level=warning msg=" [pipeline service] [pipeline #36] [task #15273] retry #0 calling api/2/user
   	caused by: Http DoAsync error: %!!(MISSING)s(<nil>) (400)"
   ```
   
   ### What do you expect to happen
   
   The [body](https://github.com/apache/incubator-devlake/blob/1420f7a2fa677a8f6c00292cf1f8eba0e78123d0/backend/helpers/pluginhelper/api/api_async_client.go#L180) will always be nill, and in fact we shouldn't be printing it here. We should be stringifying the response body and printing it there.
   
   ### How to reproduce
   
   Happens if a collector's subtask's endpoint hits an error.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   main
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] mindlesscloud closed issue #4254: [Bug][Framework] Http Async error broken message

Posted by "mindlesscloud (via GitHub)" <gi...@apache.org>.
mindlesscloud closed issue #4254: [Bug][Framework] Http Async error broken message
URL: https://github.com/apache/incubator-devlake/issues/4254


-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org