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-10 20:40:19 +00:00
parent f069efb471
commit 920e2957be

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;
}