diff --git a/CHANGELOG.md b/CHANGELOG.md index ad0b9ac..30178de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [v0.4.2] +- Changed test structure +- Added defaults to replace invalid config values +- Removed list of events from insert error + ## [v0.4.1] - fixed cipher yaml loading @@ -98,7 +103,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Initial creation - Created `db` and `xvault` package -[Unreleased]: https://github.com/Comcast/codex/compare/v0.4.1..HEAD +[Unreleased]: https://github.com/Comcast/codex/compare/v0.4.2..HEAD +[v0.4.2]: https://github.com/Comcast/codex/compare/v0.4.1...v0.4.2 [v0.4.1]: https://github.com/Comcast/codex/compare/v0.4.0...v0.4.1 [v0.4.0]: https://github.com/Comcast/codex/compare/v0.3.3...v0.4.0 [v0.3.3]: https://github.com/Comcast/codex/compare/v0.3.2...v0.3.3 diff --git a/db/db.go b/db/db.go index 3150560..7444f49 100644 --- a/db/db.go +++ b/db/db.go @@ -314,7 +314,7 @@ func (db *Connection) InsertRecords(records ...Record) error { err := db.mutliInsert.insert(records) if err != nil { db.measures.SQLQueryFailureCount.With(typeLabel, insertType).Add(1.0) - return emperror.WrapWith(err, "Inserting records failed", "records", records) + return emperror.Wrap(err, "Inserting records failed") } db.measures.SQLQuerySuccessCount.With(typeLabel, insertType).Add(1.0) return nil