> +         command.setException(exception);
> +      }
> +   }
> +
> +   public String parseMessage(HttpResponse response) {
> +      if (response.getPayload() == null)
> +         return null;
> +      try {
> +         return Strings2.toString(response.getPayload());
> +      } catch (IOException e) {
> +         throw new RuntimeException(e);
> +      } finally {
> +         try {
> +            response.getPayload().getInput().close();
> +         } catch (IOException e) {
> +            Throwables.propagate(e);

This will silently ignore the exception. Should be `throw 
Throwables.propagate(e);`.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/12/files#r5278961

Reply via email to