Skip to content

Commit

Permalink
[http] Provide meaningful error messages (openhab#11995)
Browse files Browse the repository at this point in the history
Signed-off-by: Flole <flole@flole.de>
  • Loading branch information
Flole998 authored and andan67 committed Nov 5, 2022
1 parent 1c88350 commit 6e59225
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void onComplete(@NonNullByDefault({}) Result result) {
Request request = result.getRequest();
if (result.isFailed()) {
logger.warn("Requesting '{}' (method='{}', content='{}') failed: {}", request.getURI(), request.getMethod(),
request.getContent(), result.getFailure().getMessage());
request.getContent(), result.getFailure().toString());
future.complete(null);
} else {
switch (response.getStatus()) {
Expand Down

0 comments on commit 6e59225

Please sign in to comment.