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

fix: logging of connection failures due to bad evaluation of a string… #166

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

scippacercola
Copy link

… comparison

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • WHOSUSING.md
  • Other (please describe):

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.

Changes in this PR

Describe the new behavior from this PR, and why it's needed
The previous code was failing in evaluating a string comparison because of not using equals method.
I also gave a name to the magic constant 08003 using the information from documentation
https://www.postgresql.org/docs/9.0/errcodes-appendix.html

Alternatives considered

Describe alternative implementation you have considered

@v1r3n v1r3n merged commit 896a12e into conductor-oss:main Jul 1, 2024
2 checks passed
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.

None yet

2 participants