In postgresql_connection_form.dart, _testConnection calls conn.testConnection() and maps the boolean result to either 'success' or 'failed'. The catch block only shows the error if connect() throws an exception before the boolean check.
Impact: When testConnection() returns false due to an SSL or auth problem, the user sees just "Connection failed" with no diagnosis.
Expected: Always show the real failure cause from testConnection.
Acceptance criteria:
In
postgresql_connection_form.dart,_testConnectioncallsconn.testConnection()and maps the boolean result to either'success'or'failed'. The catch block only shows the error ifconnect()throws an exception before the boolean check.Impact: When
testConnection()returnsfalsedue to an SSL or auth problem, the user sees just "Connection failed" with no diagnosis.Expected: Always show the real failure cause from
testConnection.Acceptance criteria:
testConnectionto the banner.