Skip to content

Commit

Permalink
Fixed corner case where node was up but data not uploaded yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanKarab committed Oct 9, 2020
1 parent 9376958 commit 713ad78
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,10 @@ public static class NodeData {
pathologyDatasets.put(pathology, new ArrayList<>(Arrays.asList(nodePathologyDatasets)));
}
} catch (JsonSyntaxException e) {
throw new ConsulException("There was a problem contacting consul: " + e.getMessage());
throw new ConsulException("There was a problem parsing the response from consul: " + e.getMessage());
} catch (ConsulException e) {
// The node is up but the data are not added yet.
// continue;
}
}
}
Expand Down

0 comments on commit 713ad78

Please sign in to comment.