Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
}
```

- Add `LogAttr` function to log any error with log/slog with the key "error".
If the provided error is wrapped with errtrace, it will log the full trace.
Otherwise, the original error message will be logged.
- Implement `slog.LogValuer` so errors logged with log/slog log the full trace.
- cmd/errtrace:
Add `-no-wrapn` option to disable wrapping with generic `WrapN` functions.
This is only useful for toolexec mode due to tooling limitations.
Expand Down
Loading