diff --git a/scm-dao-xml/src/main/java/sonia/scm/store/TypedStoreContext.java b/scm-dao-xml/src/main/java/sonia/scm/store/TypedStoreContext.java index 58e3e1efdc..224946040d 100644 --- a/scm-dao-xml/src/main/java/sonia/scm/store/TypedStoreContext.java +++ b/scm-dao-xml/src/main/java/sonia/scm/store/TypedStoreContext.java @@ -48,7 +48,7 @@ final class TypedStoreContext { JAXBContext jaxbContext = JAXBContext.newInstance(parameters.getType()); return new TypedStoreContext<>(jaxbContext, parameters); } catch (JAXBException e) { - throw new StoreException("failed to create context for store"); + throw new StoreException("failed to create context for store", e); } }