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

Improve the error message when --embedded-database fails to start #1037

Closed
lostman opened this issue Jun 28, 2023 · 0 comments · Fixed by #1407
Closed

Improve the error message when --embedded-database fails to start #1037

lostman opened this issue Jun 28, 2023 · 0 comments · Fixed by #1407
Labels

Comments

@lostman
Copy link
Contributor

lostman commented Jun 28, 2023

When --embedded-database fails to start, we get a cryptic error message:

fuel-indexer run --embedded-database
Error: error_type: PgStartFailure
source:
None
message:
None

This may happen when the default postgres port is already in use by another service (e.g., system postgres).

Since this isn't obvious, we could either try to check that the port is already in use or print a more helpful error message indicating this may be the case.

@ra0x3 ra0x3 added P: Medium good first issue Good for newcomers and removed devx labels Aug 8, 2023
@ra0x3 ra0x3 linked a pull request Oct 11, 2023 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants