Skip to content

Commit 97ae341

Browse files
committed
minor improvement to error propagation wrt MapEntrySerializer
1 parent aeba548 commit 97ae341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fasterxml/jackson/databind/ser/impl/MapEntrySerializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public boolean isEmpty(SerializerProvider prov, Entry<?, ?> entry)
299299
try {
300300
valueSer = _findAndAddDynamic(_dynamicValueSerializers, cc, prov);
301301
} catch (JsonMappingException e) { // Ugh... cannot just throw as-is, so...
302-
return false;
302+
throw new RuntimeJsonMappingException(e);
303303
}
304304
}
305305
}

0 commit comments

Comments
 (0)