Mercurial > hg > AnnotationManagerN4J
diff src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorResourceImpl.java @ 102:9140017e8962
fix bug with empty username. add logging for JSON exceptions.
author | casties |
---|---|
date | Thu, 09 Feb 2017 20:46:15 +0100 |
parents | acd44dfec9c8 |
children | 7417f5915181 |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorResourceImpl.java Fri Feb 13 18:10:11 2015 +0100 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorResourceImpl.java Thu Feb 09 20:46:15 2017 +0100 @@ -638,7 +638,7 @@ } } } catch (JSONException e) { - // nothing to do + logger.warning(e.toString()); } try { if (jo.has("shapes")) { @@ -655,7 +655,7 @@ } } } catch (JSONException e) { - // nothing to do + logger.warning(e.toString()); } // deprecated areas type try { @@ -669,7 +669,7 @@ } } } catch (JSONException e) { - // nothing to do + logger.warning(e.toString()); } // no fragment is an error if (annot.getFragmentType() == null || annot.getTargetFragment() == null) {