Skip to content

wrap_errors: pgx always returns non-nil error. #3912

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

Closed
krhubert opened this issue Mar 31, 2025 · 1 comment · Fixed by #3913
Closed

wrap_errors: pgx always returns non-nil error. #3912

krhubert opened this issue Mar 31, 2025 · 1 comment · Fixed by #3913
Labels
bug Something isn't working

Comments

@krhubert
Copy link

Version

Other

What happened?

This error is on 2f9e9d4

PR that introduced the error.

Today I tested the wrap error and there's an issue if at line queryConfig.tmpl:92

The error is always not-nil after wrap.

cc @kylecarbs @andrewmbenton

Relevant log output

Database schema

SQL queries

Configuration

Playground URL

No response

What operating system are you using?

No response

What database engines are you using?

No response

What type of code are you generating?

No response

@krhubert krhubert added the bug Something isn't working label Mar 31, 2025
@kyleconroy
Copy link
Collaborator

@krhubert thanks for catching this, should be fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants