diff --git a/server/src/main/java/io/druid/client/DirectDruidClient.java b/server/src/main/java/io/druid/client/DirectDruidClient.java index a5247f5cb53..fa95ba97f11 100644 --- a/server/src/main/java/io/druid/client/DirectDruidClient.java +++ b/server/src/main/java/io/druid/client/DirectDruidClient.java @@ -292,20 +292,20 @@ public class DirectDruidClient implements QueryRunner try { jp = objectMapper.getFactory().createParser(future.get()); if (jp.nextToken() != JsonToken.START_ARRAY) { - throw new IAE("Next token wasn't a START_ARRAY, was[%s] in url [%s]", jp.getCurrentToken(), url); + throw new IAE("Next token wasn't a START_ARRAY, was[%s] from url [%s]", jp.getCurrentToken(), url); } else { jp.nextToken(); objectCodec = jp.getCodec(); } } catch (IOException e) { - throw Throwables.propagate(new RE(e, "Failure getting results from[%s]", url)); + throw new RE(e, "Failure getting results from[%s]", url); } catch (InterruptedException e) { - throw Throwables.propagate(new RE(e, "Failure getting results from[%s]", url)); + throw new RE(e, "Failure getting results from[%s]", url); } catch (ExecutionException e) { - throw Throwables.propagate(new RE(e, "Failure getting results from[%s]", url)); + throw new RE(e, "Failure getting results from[%s]", url); } } }