We're updating the issue view to help you get more done. 

Ugly stacktrace logged if the GeneNames service is unavailable

Description

`
net.sf.json.JSONException: Invalid JSON String
at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:143) ~[json-lib-2.4-jdk15.jar:na]
at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103) ~[json-lib-2.4-jdk15.jar:na]
at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:84) ~[json-lib-2.4-jdk15.jar:na]
at org.phenotips.ontology.internal.GeneNomenclature.getInfo(GeneNomenclature.java:306) ~[ontology-hgnc-access-api-1.0.jar:na]
at org.phenotips.ontology.internal.GeneNomenclature.getVersion(GeneNomenclature.java:292) ~[ontology-hgnc-access-api-1.0.jar:na]
at org.phenotips.ontology.listeners.PatientOntologyVersionRecorder.getOntologiesVersions(PatientOntologyVersionRecorder.java:128) ~[ontology-access-api-1.0.jar:na]
....

Environment

None

Status

Assignee

Matthew Shepherd

Reporter

Sergiu Dumitriu

External issue ID

1434

External issue ID

None

Fix versions

Priority

Medium