Skip to content

Commit

Permalink
Merge pull request #14 from marikaris/fix/12
Browse files Browse the repository at this point in the history
Fix #12
  • Loading branch information
Bart Charbon committed Feb 2, 2017
2 parents a332bee + d704b92 commit 9fa1a1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/molgenis/downloader/emx/EMXClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public boolean downloadEMX(final List<String> entities, final Path path, final b
try (final EntityConsumer consumer = writer.createConsumerForEntity(molgenisClient.getEntity(name)))
{
molgenisClient.streamEntityData(name, consumer, pageSize);
}catch (final org.json.JSONException ex) {
writer.addException(new IllegalArgumentException("entity: "+name+" does not exist", ex));
}
}
exceptions.addAll(writer.getExceptions());
Expand Down

0 comments on commit 9fa1a1d

Please sign in to comment.