# diagnostics: Workaround weird panic in \`update_path_excerpts\` \(\#42602\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7eac6d242ced63b2c839d653af60fcf902f44c01

Requested commit: 7eac6d242ced63b2c839d653af60fcf902f44c01

Commit: 7eac6d242ced63b2c839d653af60fcf902f44c01

Tree: 815c78d0424cca0f6b66008c9cb61c93070cb4b5

Author: Lukas Wirth

Committer: GitHub

## Message

```
diagnostics: Workaround weird panic in `update_path_excerpts` (#42602)

Fixes ZED-36P

Patching this over for now until I can figure out the cause of this

Release Notes:

- Fixed panic in diagnostics pane
```

## Parents

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

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