# Fix excluded file creation \(\#12620\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 47122a31159753c46afa525cf15acc34dfbb36aa

Requested commit: 47122a31159753c46afa525cf15acc34dfbb36aa

Commit: 47122a31159753c46afa525cf15acc34dfbb36aa

Tree: abf87edf88555afc90bf7ee3ae48719e0b77675d

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Fix excluded file creation (#12620)

Fixes https://github.com/zed-industries/zed/issues/10890

* removes `unwrap()` that caused panics for text elements with no text,
remaining after edit state is cleared but project entries are not
updated, having the fake, "new entry"
* improves discoverability of the FS errors during file/directory
creation: now those are shown as workspace notifications
* stops printing anyhow backtraces in workspace notifications, printing
the more readable chain of contexts instead
* better indicates when new entries are created as excluded ones


Release Notes:

- Improve excluded entry creation workflow in the project panel
([10890](https://github.com/zed-industries/zed/issues/10890))
```

## Parents

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

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