summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-10 20:40:19 +0000
committerTom Gundersen <teg@jklm.no>2014-01-12 15:37:20 +0100
commit920e2957be7730596a80b1b64f133cbb080e4955 (patch)
treecd1138d14beb1cecec2202e14c215fb5ac01c8f9
parentf069efb4710332139ac508180cb8246b02428c17 (diff)
bus-proxyd: add some more debugging
Make sure we print a message when exiting with an error.
-rw-r--r--src/bus-proxyd/bus-proxyd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bus-proxyd/bus-proxyd.c b/src/bus-proxyd/bus-proxyd.c
index f4d6fab40c..d08559891e 100644
--- a/src/bus-proxyd/bus-proxyd.c
+++ b/src/bus-proxyd/bus-proxyd.c
@@ -644,6 +644,7 @@ int main(int argc, char *argv[]) {
k = process_hello(a, b, m, &got_hello);
if (k < 0) {
r = k;
+ log_error("Failed to process HELLO: %s", strerror(-r));
goto finish;
}
@@ -653,6 +654,7 @@ int main(int argc, char *argv[]) {
k = process_policy(a, b, m);
if (k < 0) {
r = k;
+ log_error("Failed to process policy: %s", strerror(-r));
goto finish;
}