# debugger_ui: Don't \`\.unwrap\` debug panel access \(\#28131\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e3d212ac60822df55ef9f2ba6fe6651392c33d09

Requested commit: e3d212ac60822df55ef9f2ba6fe6651392c33d09

Commit: e3d212ac60822df55ef9f2ba6fe6651392c33d09

Tree: bd432e6ee55b6c9607ca4c822c52aa1130423c2d

Author: Marshall Bowers

Committer: GitHub

## Message

```
debugger_ui: Don't `.unwrap` debug panel access (#28131)

This PR removes replaces the `.unwrap`s when accessing the debug panel
with `if let Some`s.

These `.unwrap`s are not locally verifiable, and thus are not safe.

Release Notes:

- N/A
```

## Parents

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

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