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

services/horizon/internal/: Fix logged message when horizon cannot open a db connection #3792

Merged
merged 1 commit into from
Jul 30, 2021

Conversation

tamirms
Copy link
Contributor

@tamirms tamirms commented Jul 30, 2021

Horizon logs a "cannot open Horizon DB" message when it fails to establish a database connection.
The problem is that this message is also logged when failing to open a connection to the Stellar Core DB.
This commit fixes the error message by specifying which database incurred the failure.

Horizon logs a "cannot open Horizon DB" message when it fails to establish a database connection.
The problem is that this message is also logged when failing to open a connection to the Stellar Core DB.
This commit fixes the error message by specifying which database incurred the failure.
@tamirms tamirms requested a review from a team July 30, 2021 09:06
@tamirms tamirms merged commit a1ff153 into stellar:master Jul 30, 2021
@tamirms tamirms deleted the fix-db-error-message branch July 30, 2021 09:55
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