From 01a9f3b8671586d1e15c04c08d629a01e588d154 Mon Sep 17 00:00:00 2001 From: Dennis Oelkers Date: Thu, 19 Oct 2023 13:14:28 +0200 Subject: [PATCH] Propagating error during field type change to frontend. (#17000) --- .../indexer/fieldtypes/mapping/FieldTypeMappingsService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/mapping/FieldTypeMappingsService.java b/graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/mapping/FieldTypeMappingsService.java index 390af6507234..a90f5dfebfb8 100644 --- a/graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/mapping/FieldTypeMappingsService.java +++ b/graylog2-server/src/main/java/org/graylog2/indexer/fieldtypes/mapping/FieldTypeMappingsService.java @@ -59,6 +59,7 @@ public void changeFieldType(final CustomFieldMapping customMapping, }); } catch (Exception ex) { LOG.error("Failed to update field type in index set : " + indexSetId, ex); + throw ex; } } }