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

docs: improve Error When DA Node Connection Fails #209

Open
smuu opened this issue Jan 14, 2025 · 0 comments
Open

docs: improve Error When DA Node Connection Fails #209

smuu opened this issue Jan 14, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@smuu
Copy link
Collaborator

smuu commented Jan 14, 2025

When starting the prover and the connection with the DA node fails the logs show the following:

Error: Custom { kind: Other, error: "Failed to start DataAvailabilityLayer" }

Instead, I expect more information on why it fails. It seems that the underlying error is not passed to the error printed.
In my scenario, the API returns {"error":{"code":-32601,"message":"method 'header.Subscribe' not supported in this mode (no out channel support)"},"id":1,"jsonrpc":"2.0"} because the node was not fully synced.
Forwarding the error is important for the user of prism to be able to debug issues properly.

@distractedm1nd distractedm1nd changed the title Uninformative Error When DA Node Connection Fails docs: improve Error When DA Node Connection Fails Jan 20, 2025
@distractedm1nd distractedm1nd added documentation Improvements or additions to documentation good first issue Good for newcomers labels Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants