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

log filter not work, case: on reinstallFilter() called, if getInitialFilterLogs() throw Exception, schedule is Cancelled on reinstallFilter. #1993

Open
chenxiaodai opened this issue Jan 2, 2024 · 0 comments

Comments

@chenxiaodai
Copy link

https://github.com/web3j/web3j/blob/4b583dd0f701334be1f18abc925eff4dcb9c3e52/core/src/main/java/org/web3j/protocol/core/filters/Filter.java#L72

My temporary modification plan

  1. filter add subscriber::onError.
  2. when org.web3j.protocol.core.filters.Filter#run call by reinstallFilter(). call subscriber::onError.
  3. Use layers subscribe (throwable), on error resubscribe
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