Skip to content

Commit 9867f32

Browse files
disable ignore unknowns to see why the event fails to parse.
1 parent 07e1881 commit 9867f32

File tree

1 file changed

+1
-1
lines changed
  • aws-lambda-java-serialization/src/main/java/com/amazonaws/services/lambda/runtime/serialization/factories

1 file changed

+1
-1
lines changed

aws-lambda-java-serialization/src/main/java/com/amazonaws/services/lambda/runtime/serialization/factories/JacksonFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ private static JsonFactory createJsonFactory() {
148148
factory.disable(JsonParser.Feature.STRICT_DUPLICATE_DETECTION);
149149

150150
//Json Generator enabled
151-
factory.enable(JsonGenerator.Feature.IGNORE_UNKNOWN);
151+
factory.disable(JsonGenerator.Feature.IGNORE_UNKNOWN);
152152

153153
//Json Generator disabled
154154
factory.disable(JsonGenerator.Feature.AUTO_CLOSE_JSON_CONTENT);

0 commit comments

Comments
 (0)