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

lib: doing an rpc call to iroh.authors.list() with a fresh iroh data dir results in an error #1806

Closed
Arqu opened this issue Nov 13, 2023 · 0 comments · Fixed by #1807
Closed
Labels
bug Something isn't working

Comments

@Arqu
Copy link
Collaborator

Arqu commented Nov 13, 2023

If you run

let mut stream = iroh.authors.list().await?;
let x = stream.try_next().await?;

It returns an error Error: RpcError(Table 'authors-1' does not exist)
This is not really an error of the RPC and we should probably not forward that error but return an empty list and possibly log a warn. Ideally that should be initialized on a new iroh data dir without having to fiddle with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant