Fix error handling in Jackson2JsonDecoder

Issue: SPR-15112
This commit is contained in:
Sebastien Deleuze
2017-01-09 14:51:16 +01:00
parent e4a599f961
commit aa43472f2e
2 changed files with 12 additions and 1 deletions

View File

@@ -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);
}
});
}