bus-proxyd: add some more debugging

Make sure we print a message when exiting with an error.
This commit is contained in:
Tom Gundersen
2014-01-12 15:37:20 +01:00
parent f069efb471
commit 920e2957be
+2
View File
@@ -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;
}