Repository navigation
Name host and port in login and TLS errors; fix skip hint - #18
Merged
Merged
Conversation
Login and TLS handshake errors from the driver did not say which server failed. Now they say the host and port, like the connect error. The password is never in the message. The skip hint said pubspec.yaml. It now says the app's root pubspec.yaml, like dox_mysql_native.
necessarylion
approved these changes
Nov 10, 2026
necessarylion
left a comment
Member
There was a problem hiding this comment.
Bot review
One review round. No findings. No code or test matches the old error texts. The exception types stay the same. No password is in a message. cargo fmt, clippy, cargo test, dart format and dart analyze are clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
in pubspec.yaml. That can mean the pubspec of a package, not the app.Fix
connect_erroris gone. All login and SSL errors now usedial_error, or the newtls_error. Both say the host and port, eg.error performing TLS handshake with server at "db.local", port 5432: server does not support TLS. The password is never in the message.PgServerExceptionwith the server's own fields, and apps may match on the message.the app's root pubspec.yaml, the same text as dox_mysql_native (docs: remove Laravel mentions from README #19).Tests
cargo fmt --check,cargo clippy --release --all-targets -- -D warnings,cargo test --release(13 pass, the host and port test now also checks the TLS text).dart format,dart analyze --fatal-infos: clean.DRIVER=postgres DB_PORT=5432 dart test --concurrency=1against a local Postgres 16 in Docker: 48 pass.No version or ABI change. Changelog under Unreleased.