Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
naknomum committed Jan 3, 2024
1 parent 6420270 commit cc6b216
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/org/ecocean/servlet/IAGateway.java
Original file line number Diff line number Diff line change
Expand Up @@ -426,13 +426,11 @@ public static JSONObject _doIdentify(JSONObject jin, JSONObject res, Shepherd my
Task subTask = subTasks.get(i);
try {
taskRes = _sendIdentificationTask(ann, context, baseUrl, queryConfigDict, null, limitTargetSize, subTask, myShepherd,fastlane);
} catch (Exception ex) {
} catch (Exception ex) { // unsure if maybe _some_ exceptions should be treated differently here?
System.out.println("subTask failure on " + subTask + ": " + ex.toString());
taskRes.put("success", false);
taskRes.put("error", ex.toString());
System.out.println(">>>>>>> parentTask: " + parentTask);
System.out.println(">>>>>>> parentTask params: " + parentTask.getParameters());
System.out.println(">>>>>>> jin: " + jin);
JSONObject jobj = new JSONObject();
jobj.put("identify", new JSONObject());
jobj.getJSONObject("identify").put("annotationIds", new JSONArray());
Expand Down

0 comments on commit cc6b216

Please sign in to comment.