Skip to content

Commit 011b2c6

Browse files
committed
Don't fail on invalid input for now.
1 parent b5a3ad7 commit 011b2c6

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

  • x-pack/plugins/ingest_manager/server/services/epm/fields

x-pack/plugins/ingest_manager/server/services/epm/fields/field.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,11 @@ function dedupFields(fields: Fields): Fields {
113113
found.fields = dedupFields(found.fields.concat(field.fields));
114114
} else {
115115
// only 'group' fields can be merged in this way
116-
throw new Error(
117-
"Can't merge fields " + JSON.stringify(found) + ' and ' + JSON.stringify(field)
118-
);
116+
// XXX: don't abort on error for now
117+
// see discussion in https://github.com/elastic/kibana/pull/59894
118+
// throw new Error(
119+
// "Can't merge fields " + JSON.stringify(found) + ' and ' + JSON.stringify(field)
120+
// );
119121
}
120122
} else {
121123
if (field.fields) {

0 commit comments

Comments
 (0)