Skip to content

Commit

Permalink
openhab#14 Add causing exception to ExecutionException in BoschHttpCl…
Browse files Browse the repository at this point in the history
…ient.sendRequest

Signed-off-by: Christian Oeing <[email protected]>
Signed-off-by: Gerd Zanker <[email protected]>
  • Loading branch information
coeing authored and GerdZanker committed Jan 7, 2021
1 parent cd310d9 commit 5467e05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public <TContent> TContent sendRequest(Request request, Class<TContent> response
return content;
} catch (JsonSyntaxException e) {
throw new ExecutionException(String.format("Received invalid content in response, expected type %s: %s",
responseContentClass.getName(), e.getMessage()), null);
responseContentClass.getName(), e.getMessage()), e);
}
}
}

0 comments on commit 5467e05

Please sign in to comment.