Skip to content

Commit

Permalink
Give a more meaningful error that leads to the source
Browse files Browse the repository at this point in the history
  • Loading branch information
sayden committed Apr 1, 2019
1 parent 43f1b91 commit 485d0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricbeat/mb/testing/data/data_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func checkDocumented(t *testing.T, data []common.MapStr) {
if _, ok := keys[prefix+".*"]; ok {
continue
}
t.Fatalf("key missing: %s", k)
t.Fatalf("check if fields are documented error: key missing '%s'", k)
}
}
}
Expand Down

0 comments on commit 485d0a6

Please sign in to comment.