# util: Fix crate name extraction for \`log_error_with_caller\` \(\#35944\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9cd5c3656e831a30fe8ef606aff04adf4bba4a60

Requested commit: 9cd5c3656e831a30fe8ef606aff04adf4bba4a60

Commit: 9cd5c3656e831a30fe8ef606aff04adf4bba4a60

Tree: d9eaedf928781632eb825b43efb5516b22301529

Author: Lukas Wirth

Committer: GitHub

## Message

```
util: Fix crate name extraction for `log_error_with_caller` (#35944)

The paths can be absolute, meaning they would just log the initial
segment of where the repo was cloned.

Release Notes:

- N/A
```

## Parents

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

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