# gpui: Make \`App::get_name\` return an \`Option\` \(\#27209\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 27ebedf517b7990dfba9661a10fb0c4e95a73d40

Requested commit: 27ebedf517b7990dfba9661a10fb0c4e95a73d40

Commit: 27ebedf517b7990dfba9661a10fb0c4e95a73d40

Tree: 9efc7876d5305f24473d8fd40c509a0c746b7a85

Author: Marshall Bowers

Committer: GitHub

## Message

```
gpui: Make `App::get_name` return an `Option` (#27209)

This PR makes `App::get_name` return an `Option` instead of panicking if
the name is not set.

We'll let the caller be responsible for dealing with the absence of a
name.

Release Notes:

- N/A
```

## Parents

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

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