# gpui: Relax AssetLogger trait bounds \(\#29450\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fde1cc78a14cae75e4a01334b5aeef6abd282f30

Requested commit: fde1cc78a14cae75e4a01334b5aeef6abd282f30

Commit: fde1cc78a14cae75e4a01334b5aeef6abd282f30

Tree: b8b25fc339b074be59499487460888b7d00c17a7

Author: tidely

Committer: GitHub

## Message

```
gpui: Relax AssetLogger trait bounds (#29450)

Loosen trait bounds from `std::error::Error` to `std::fmt::Display`,
since it's not required for the `log::error!` macro or any other bounds.

Specify that `AssetLogger` specifically logs errors in its
documentation.

Use the `futures::TryFutureExt` trait extension to use `inspect_err`
directly on a future.

Release Notes:

- N/A
```

## Parents

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

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