diff --git a/src/main/java/com/loafle/overflow/central/proxy/ServiceInvoker.java b/src/main/java/com/loafle/overflow/central/proxy/ServiceInvoker.java index 71e9e9c..33aa559 100644 --- a/src/main/java/com/loafle/overflow/central/proxy/ServiceInvoker.java +++ b/src/main/java/com/loafle/overflow/central/proxy/ServiceInvoker.java @@ -128,7 +128,6 @@ public class ServiceInvoker { } } return objectMapper.convertValue(json, targetType); - } private Object[] getParameters(Type[] parameterTypes, List params) throws IllegalArgumentException { @@ -188,7 +187,7 @@ public class ServiceInvoker { try { jsonInString = objectMapper.writeValueAsString(result); } catch (IOException e) { - throw new OverflowException("InternalError"); + throw new OverflowException("InternalError", e); } return jsonInString;