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

Wrong Log message if DB_URL is not set #726

Closed
paulo-ocean opened this issue Oct 22, 2024 · 0 comments · Fixed by #727
Closed

Wrong Log message if DB_URL is not set #726

paulo-ocean opened this issue Oct 22, 2024 · 0 comments · Fixed by #727
Assignees
Labels
Type: Bug Something isn't working

Comments

@paulo-ocean
Copy link
Contributor

On Index.ts
Right at the beginning, when we check for DB configuration
The log is wrongly placed (it prints when DB_URL is set, while it should be the opposite):

OCEAN_NODE_LOGGER.warn(
    `Missing or invalid property: "${ENVIRONMENT_VARIABLES.DB_URL.name}". This means Indexer module will not be enabled.`
  )
@paulo-ocean paulo-ocean added the Type: Bug Something isn't working label Oct 22, 2024
@paulo-ocean paulo-ocean self-assigned this Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant