-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
When the benchmark command is run in elastic-package and something is off with the field definition, the following error is returned:
Error: error running package stream benchmarks: could not complete benchmark run: error while generating event for streaming: generate called on a field not present in fields yaml definition
This misses the important information about which benchmark, which fields.yml and which field. To make debugging for template creators as easy as possible, all this info should be provided.
The error message for the field can be found here:
elastic-integration-corpus-generator-tool/pkg/genlib/generator_with_text_template.go
Line 16 in 73d240b
var generateOnFieldNotInFieldsYaml = errors.New("generate called on a field not present in fields yaml definition") |
elastic-integration-corpus-generator-tool/pkg/genlib/generator_with_text_template.go
Line 78 in 73d240b
bindF, ok := fieldMap[field].(emitF) |
Metadata
Metadata
Assignees
Labels
No labels