mirror of https://github.com/apache/jclouds.git
Adds additional details to the jclouds log error message.
This commit is contained in:
parent
bf00298f74
commit
fb1f3b9dfd
|
@ -62,7 +62,8 @@ public class ParseJson<T> implements Function<HttpResponse, T> {
|
|||
return apply(gson);
|
||||
} catch (Exception e) {
|
||||
StringBuilder message = new StringBuilder();
|
||||
message.append("Error parsing input");
|
||||
message.append("Error parsing input: ");
|
||||
message.append(e.getMessage());
|
||||
logger.error(e, message.toString());
|
||||
throw new HttpResponseException(message.toString() + "\n" + from, null, from, e);
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue