You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/10/09 05:55:40 UTC

[GitHub] [incubator-devlake] narrowizard opened a new issue, #3340: [Feature][Jira] Return more info when proxy api failed

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

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement.
   
   
   ### Description
   
   I'm using jira proxy api to get jira board list. It works well if everything is configed correctly.  
   But it will return an 500 internal server error when my authentication info is outdated.  
   ![lVSKeiSRPz](https://user-images.githubusercontent.com/11383928/194740414-e2753383-4855-49ef-9765-27c90aac7307.jpg)
   
   I have tested the jira api, it will return 401 if something wrong with auth info.  
   ![2b2Wb5V2Iz](https://user-images.githubusercontent.com/11383928/194740420-4de6c784-958c-4521-80f4-0b3a03abe060.jpg)
   
   It will be better if the proxy api return original jira response info(at least the response status code) so that I can expose an exact error info for users.
   
   ### Use case
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a 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 commented on issue #3340: [Feature][Jira] Return more info when proxy api failed

Posted by GitBox <gi...@apache.org>.
mindlesscloud commented on issue #3340:
URL: https://github.com/apache/incubator-devlake/issues/3340#issuecomment-1272490271

   fixed by #3342 


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


[GitHub] [incubator-devlake] mindlesscloud closed issue #3340: [Feature][Jira] Return more info when proxy api failed

Posted by GitBox <gi...@apache.org>.
mindlesscloud closed issue #3340: [Feature][Jira] Return more info when proxy api failed
URL: https://github.com/apache/incubator-devlake/issues/3340


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