dpgaspar opened a new pull request #9178: [core] Fix, sanitize errors returned from testconn URL: https://github.com/apache/incubator-superset/pull/9178 ### CATEGORY Choose one - [X] Bug Fix - [X] Enhancement (new features, refinement) - [ ] Refactor - [ ] Add tests - [ ] Build / Development Environment - [ ] Documentation ### SUMMARY Test connection API `testconn` does not sanitize errors generated from SQLAlchemy or dbapi drivers. This PR distinguish between URI parse errors, drInivers not installed on the system and OperationalError. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF Before: After: Connection failed (OperationalError):  Invalid URI:  Invalid driver:  ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [ ] Changes UI - [ ] Requires DB Migration. - [ ] Confirm DB Migration upgrade and downgrade tested. - [ ] Introduces new feature or API - [ ] Removes existing feature or API ### REVIEWERS
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
