# extension_host: Add error context to add_extension_to_index \(\#45913\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 778609f6862cc4d0cbf3302f3f253792f47034da

Requested commit: 778609f6862cc4d0cbf3302f3f253792f47034da

Commit: 778609f6862cc4d0cbf3302f3f253792f47034da

Tree: 9ebf0680e6a8363e7e6f6bc36bc71f9592960b7e

Author: Aru Sahni

Committer: GitHub

## Message

```
extension_host: Add error context to add_extension_to_index (#45913)

Missing required extension files or directories currently result in
opaque "Directory not found" errors being logged during the update index
phase. This can be frustrating to those developing extensions. Add some
context so folks know where to start looking.

Release Notes:

- N/A

---------

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
Co-authored-by: Kirill Bulatov <kirill@zed.dev>
```

## Parents

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

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