# Only install crash handler when a minidump endpoint is configured \(\#61384\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e8bfce7614b88f2ec32bd8fae4d8ae08e6f3834d

Requested commit: e8bfce7614b88f2ec32bd8fae4d8ae08e6f3834d

Commit: e8bfce7614b88f2ec32bd8fae4d8ae08e6f3834d

Tree: bcd11c9f2d274275e58a420840700a2183561c63

Author: Jakub Konka

Committer: GitHub

## Message

```
Only install crash handler when a minidump endpoint is configured (#61384)

Closes FR-130

Builds compiled from source at a release tag report a non-dev release
channel, so they used to install the crash handler and write minidumps
into the shared logs directory. An official Zed launched later would
find and upload those dumps to Sentry, where they can never be
symbolicated (their debug UUID matches no uploaded debug files).

Gate the crash handler on having somewhere to send the dumps: either the
compile-time ZED_MINIDUMP_ENDPOINT baked into official builds, the
runtime ZED_MINIDUMP_ENDPOINT override, or an explicit
ZED_GENERATE_MINIDUMPS opt-in for debugging the crash pipeline locally.

Release Notes:

- N/A
```

## Parents

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

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