mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 01:19:14 +00:00
Add more debugging for conversion failures
This commit is contained in:
parent
8e756de52e
commit
0f74f25078
@ -761,8 +761,9 @@ public class ValidationEngine implements IValidatorResourceFetcher {
|
||||
System.out.print("* load file: "+fn);
|
||||
}
|
||||
System.out.println(" - ignored due to error: "+(e.getMessage() == null ? " (null - NPE)" : e.getMessage()));
|
||||
if (debug)
|
||||
if (debug || ((e.getMessage() != null && e.getMessage().contains("cannot be cast")))) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user