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

Provide more info when a stream fails #516

Open
2 tasks
abourget opened this issue Aug 13, 2024 · 0 comments
Open
2 tasks

Provide more info when a stream fails #516

abourget opened this issue Aug 13, 2024 · 0 comments

Comments

@abourget
Copy link
Contributor

Goal: Improve Substreams DevEx

When a stream stops, you get an error with the final message, but the engine drops the logs produced by the failed module, which might be precious for debugging.

Here are suggested solutions:

  • In dev mode, send all the info for the block we have, before shutting down the connection.. so we have logs and context of failure, in addition to the failed message.
  • In production mode, we should print at least all the logs of the current output module, alongside the error message.. either in a header, or directly in the error string.
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

No branches or pull requests

1 participant