Commit be15d52e authored by Matija Obreza's avatar Matija Obreza
Browse files

Fixed IOException: Attempted read from closed stream

parent b0940005
......@@ -100,7 +100,7 @@ public class EasySMTAConnector implements EasySMTA {
// TODO Report various errorCodes!
} else {
return objectMapper.readValue(entity.getContent(), EasySMTA.EasySMTAUserData.class);
return objectMapper.readValue(tree.asText(), EasySMTA.EasySMTAUserData.class);
} catch (final ClientProtocolException e) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment