mirror of https://github.com/apache/jclouds.git
added debug when parsing fails
This commit is contained in:
parent
169006b3ed
commit
8c5e03a9a5
|
@ -81,7 +81,7 @@ public class JAXBParser implements XMLParser {
|
|||
Unmarshaller unmarshaller = context.createUnmarshaller();
|
||||
return (T) unmarshaller.unmarshal(reader);
|
||||
} catch (Exception ex) {
|
||||
throw new IOException("Could not unmarshall document", ex);
|
||||
throw new IOException("Could not unmarshall document into type: " + type.getSimpleName() + "\n" + xml, ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue