mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix error handling in Jackson2JsonDecoder
Issue: SPR-15112
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ public class Jackson2JsonDecoder extends AbstractJackson2Codec implements Decode
|
||||
return value;
|
||||
}
|
||||
catch (IOException ex) {
|
||||
return Flux.error(new CodecException("Error while reading the data", ex));
|
||||
throw new CodecException("Error while reading the data", ex);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user