summaryrefslogtreecommitdiffstats
path: root/src/libwindowmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libwindowmanager.cpp')
-rw-r--r--src/libwindowmanager.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp
index 18cde43..9b9c555 100644
--- a/src/libwindowmanager.cpp
+++ b/src/libwindowmanager.cpp
@@ -271,12 +271,6 @@ int LibWindowmanager::Impl::requestSurface(json_object *object) {
rc = -EINVAL;
return;
}
- } else {
- HMI_ERROR("libwm", "Could not get surface ID from WM: %s",
- j != nullptr ? json_object_to_json_string_ext(
- j, JSON_C_TO_STRING_PRETTY)
- : "no-info");
- rc = -EINVAL;
}
});
@@ -488,10 +482,7 @@ int LibWindowmanager::Impl::api_call(
}
if (rc < 0) {
- HMI_ERROR("libwm", "calling %s/%s(%s) failed: %m", wmAPI, verb,
- json_object_to_json_string_ext(object, JSON_C_TO_STRING_PRETTY));
- // Call the reply handler regardless with a NULL json_object*
- onReply(false, nullptr);
+ HMI_ERROR("libwm", "calling %s/%s failed: %m", wmAPI, verb);
}
return rc;