Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(daemon): add Err() to retrieve the tomb death reason (#453)
Daemon has a `.Dying()` method that mirrors the [`Tomb.Dying()`](https://pkg.go.dev/gopkg.in/tomb.v2#Tomb.Dying) API, but not `.Err()` for the [`Tomb.Err()`](https://pkg.go.dev/gopkg.in/tomb.v2#Tomb.Err) API. Add a `.Err()` pass-through function and print out the server exit reason for easier debugging should one of the daemon tomb goroutines die.
- Loading branch information