Merge branch 'master' of https://git.loafle.net/overflow/central
This commit is contained in:
commit
1f6933f8df
|
@ -128,7 +128,6 @@ public class ServiceInvoker {
|
|||
}
|
||||
}
|
||||
return objectMapper.convertValue(json, targetType);
|
||||
|
||||
}
|
||||
|
||||
private Object[] getParameters(Type[] parameterTypes, List<ByteString> 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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user