# fix Debug mode when error return tracing is off · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/579dd7411462a1359a08e8b4c0b4b9765d54a563)

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

Visibility: public

Requested revision: 579dd7411462a1359a08e8b4c0b4b9765d54a563

Requested commit: 579dd7411462a1359a08e8b4c0b4b9765d54a563

Commit: 579dd7411462a1359a08e8b4c0b4b9765d54a563

Tree: 9650367f638ba4480956f2d951e8758e2a4c31f1

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix Debug mode when error return tracing is off

Previously the code for generating a panic crash expected
one of the parameters to be the error return trace. Now
it does not expect that parameter when g->have_err_ret_tracing
is false.

Closes #2276

```

## Parents

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

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