File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
## [ Unreleased]
8
8
- Put unreleased items here.
9
9
10
+ ## [ 1.3.1] - 2018-05-14
11
+
12
+ - Add more helpful error message when ` WithTest(t) ` is not called on the recorder metrics client during testing.
13
+
10
14
## [ 1.3.0] - 2018-03-19
11
15
12
16
- Add ` WithRate(float64) ` to the metrics interface and to all clients that implement
Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ func (c *RecorderClient) Length() int {
265
265
// output message to help with debugging.
266
266
func (c * RecorderClient ) Fatalf (format string , args ... interface {}) {
267
267
if c .test == nil {
268
- panic ("No test associated with metrics recorder" )
268
+ panic ("No test associated with metrics recorder, you must call `recorder.WithTest(t)` " )
269
269
}
270
270
// blacklist contains a set of fully qualified function name components that
271
271
// we will filter out to keep the call stack concise.
You can’t perform that action at this time.
0 commit comments