# gpui: Do not unwrap in \`window_procedure\` \(\#42216\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8ba33ad270ab0d504943fe7134060caf7052045c

Requested commit: 8ba33ad270ab0d504943fe7134060caf7052045c

Commit: 8ba33ad270ab0d504943fe7134060caf7052045c

Tree: 34146e222c423209a004f0f877676797c2f3b90f

Author: Lukas Wirth

Committer: GitHub

## Message

```
gpui: Do not unwrap in `window_procedure` (#42216)

Technically these should not be possible to hit, but sentry says
otherwise. Turning these into errors should give us more information
than the abort due to unwinding across ffi boundaries.

Fixes ZED-321

Release Notes:

- N/A *or* Added/Fixed/Improved ...
```

## Parents

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

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