Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add #[track_caller] to the Row::get() functions #1104

Merged
merged 2 commits into from
Feb 17, 2024

Conversation

njaard
Copy link

@njaard njaard commented Feb 16, 2024

This small quality-of-life improvement changes these errors:

thread '' panicked at /../.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.10/src/row.rs:151:25: error retrieving column 0: error deserializing column 0: a Postgres value was NULL

to:

thread '' panicked at my-program.rs:100:25: error retrieving column 0: error deserializing column 0: a Postgres value was NULL

Charles Samuels and others added 2 commits February 16, 2024 10:55
This small quality-of-life improvement changes these errors:

thread '<unnamed>' panicked at /../.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.10/src/row.rs:151:25:
error retrieving column 0: error deserializing column 0: a Postgres value was `NULL`

to:

thread '<unnamed>' panicked at my-program.rs:100:25:
error retrieving column 0: error deserializing column 0: a Postgres value was `NULL`
@sfackler sfackler merged commit ba1b4cf into sfackler:master Feb 17, 2024
4 checks passed
@sfackler
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants