mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-06 03:19:15 +00:00
Merge pull request #55 from vadi2/dont-choke-on-irrelevant-files
Don't crash on bad files present in IG, ignore & warn instead
This commit is contained in:
commit
d7f071b30e
@ -736,7 +736,7 @@ public class ValidationEngine {
|
||||
throw new Exception("Unsupported version "+version);
|
||||
|
||||
} catch (Exception e) {
|
||||
throw new Exception("Error parsing "+fn+": "+e.getMessage(), e);
|
||||
System.out.println(" - ignored due to error: "+e.getMessage());
|
||||
}
|
||||
if (r != null) {
|
||||
context.cacheResource(r);
|
||||
|
Loading…
x
Reference in New Issue
Block a user