# acp: Improve error reporting and log more information when failing to launch gemini \(\#37178\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/92f739dbb9f2b46a1d825b39c0ea2c521dae0dbc)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 92f739dbb9f2b46a1d825b39c0ea2c521dae0dbc

Requested commit: 92f739dbb9f2b46a1d825b39c0ea2c521dae0dbc

Commit: 92f739dbb9f2b46a1d825b39c0ea2c521dae0dbc

Tree: 1bec05445863e775d45bae205fed189c5f99069e

Author: Cole Miller

Committer: GitHub

## Message

```
acp: Improve error reporting and log more information when failing to launch gemini (#37178)

In the case where we fail to create an ACP connection to Gemini, only
report the "unsupported version" error if the version for the found
binary is at least our minimum version. That means we'll surface the
real error in this situation.

This also fixes incorrect sorting of downloaded Gemini versions--as @kpe
pointed out we were effectively using the version string as a key. Now
we'll correctly use the parsed semver::Version instead.

Release Notes:

- N/A
```

## Parents

- [3d4f9172040eacc6cc8787524588506abef07c0a](https://git.cafe/gitcafe/zed/commit/3d4f9172040eacc6cc8787524588506abef07c0a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/92f739dbb9f2b46a1d825b39c0ea2c521dae0dbc?format=markdown)
