mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-18 03:01:05 +01:00
Add root exception to new exception
This is needed to get an idea why the context could not be created.
This commit is contained in:
@@ -48,7 +48,7 @@ final class TypedStoreContext<T> {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user