bus-proxyd: add some more debugging
Make sure we print a message when exiting with an error.
This commit is contained in:
parent
f069efb471
commit
920e2957be
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue