Closed kingsleyh closed 1 month ago
I was using an old version of meilisearch - once I upgraded to the latest this went away
Hey @kingsleyh
Thanks for your issue; you're right that this is not a bug if you use the correct version of the SDK with the right version of Meilisearch. But you're not wrong either; it shouldn't panic and return an error instead.
I'll reopen it but with the maintenance label instead of the bug one, thanks for the opening the issue!
When checking if an index exists this unwrap returns None and causes a panic.
Instead could handle this instead of using unwrap() so that it always returns the Result
file: meilisearch-sdk-0.25.0/src/client.rs:49:55