# extension_cli: Don't propagate errors caused by trying to read \`Cargo.toml\` \(\#9641\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 38310882513ceec04d51c1f8a14586c41e3a564d

Requested commit: 38310882513ceec04d51c1f8a14586c41e3a564d

Commit: 38310882513ceec04d51c1f8a14586c41e3a564d

Tree: a93a795e170a6f4841c69d35ad36ed7408713815

Author: Marshall Bowers

Committer: GitHub

## Message

```
extension_cli: Don't propagate errors caused by trying to read `Cargo.toml` (#9641)

This PR fixes an issue where the extension CLI would error if a
`Cargo.toml` didn't exist when we were trying to check for its
existence. Since we're just checking if it exists for the purposes of
detecting a Rust extension, we can safely ignore the errors.

Also improved the logging/error handling in a few spots to make other
errors easier to troubleshoot in the future.

Release Notes:

- N/A
```

## Parents

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

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