# bunqueue v2.6.110

Fixes 1 bug. Stacktrace now included in failed worker event: job.stacktrace was always null when a job threw an error.

Canonical: https://bunqueue.dev/blog/bunqueue-v2-6-110/

---

<!-- Generated from changelog.md by docs/scripts/generate-release-posts.ts. Edit the changelog and regenerate. -->

Fixes 1 bug. Stacktrace now included in failed worker event: job.stacktrace was always null when a job threw an error.

![](https://github.com/egeominotti.png?size=64) [egeominotti](https://github.com/egeominotti)

#### To install bunqueue v2.6.110

```bash title="bun"
bun add bunqueue@2.6.110
```

```bash title="npm"
npm install bunqueue@2.6.110
```

#### To upgrade bunqueue

```bash
bun add bunqueue@latest
```

## Bugfixes

- **Stacktrace now included in `failed` worker event**: `job.stacktrace` was always `null` when a job threw an error. Now correctly populated with the error's stack trace lines, respecting `stackTraceLimit` (default: 10). Fixes [#74](https://github.com/egeominotti/bunqueue/issues/74).

## Thanks to 1 contributor!

- [@egeominotti](https://github.com/egeominotti)

---

[← bunqueue v2.6.109](https://bunqueue.dev/blog/bunqueue-v2-6-109/) · [Release on GitHub](https://github.com/egeominotti/bunqueue/releases/tag/v2.6.110) · [Commits since v2.6.109](https://github.com/egeominotti/bunqueue/compare/v2.6.109...v2.6.110) · [Full changelog](https://bunqueue.dev/changelog/) · [All posts](https://bunqueue.dev/blog/)
