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/05/04 04:39:46 UTC

[GitHub] [incubator-devlake] keon94 opened a new issue, #5080: [Bug][pydevlake] Error handling of Test Connection

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

   ### 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
   
   Test Connection for python plugins is hardcoded to return error code 400 regardless of the underlying error cause. This has been by design so far to keep things simple and quick, but needs to change for the sake of operational correctness.
   
   ### What do you expect to happen
   
   The error code returned to the UI must correspond the error code of the datasource.
   
   ### How to reproduce
   
   It theoretically happens if the datasource returns any non-200 and non-400 status code when test connection is invoked,
   
   ### 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] keon94 closed issue #5080: [Bug][pydevlake] Error handling of Test Connection

Posted by "keon94 (via GitHub)" <gi...@apache.org>.
keon94 closed issue #5080: [Bug][pydevlake] Error handling of Test Connection
URL: https://github.com/apache/incubator-devlake/issues/5080


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