try {
schemaContext = parser.buildEffectiveModel();
} catch (final YangParserException e) {
+ if (e.getCause() instanceof ReactorException re) {
+ throw new SchemaResolutionException("Failed to resolve required models", re.getSourceIdentifier(), e);
+ }
throw new SchemaResolutionException("Failed to resolve required models", e);
}
return SemVerSourceIdentifier.create(identifier.getName(), identifier.getRevision(), semver);
}
-}
\ No newline at end of file
+}